[Bug 2784] Add native support for Linux VRF (via SO_BINDTODEVICE socket option)

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Oct 7 03:05:39 AEDT 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=2784

Luca Boccassi <luca.boccassi at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3061|0                           |1
        is obsolete|                            |

--- Comment #3 from Luca Boccassi <luca.boccassi at gmail.com> ---
Created attachment 3064
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3064&action=edit
patch v2

Hi,

As suggested, v2 of the patch adds a "domain" keyword to the
ListenAddress option.
The -B or BindDevice option, like the -p and Port ones, offer a default
global value, that individual ListenAddress domains can override.

I had to do a small refactor on how the ListenAddress addresses are
stored, since a single hostname can in theory have multiple IP
addresses, which must all be associated with the same domain.
Previously the struct addrinfo linked lists were used directly, now
they are wrapped in a struct that also has a pointer to the domain.

I do not have a preference on using "%vrf" vs "domain vrf". It would be
nice to have consistency across different programs, but it is also true
that linklocal addresses already use it. Up to you! I'm happy to test
either.

It's the first time I work on this code base so please double, nay
triple check :-)

Thanks!

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list