[Bug 2784] Add native support for routing domains / VRF
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Mon Oct 23 12:45:01 AEDT 2017
https://bugzilla.mindrot.org/show_bug.cgi?id=2784
--- Comment #13 from Damien Miller <djm at mindrot.org> ---
get/set_rdomain can be implemented on Linux using SO_BINDTODEVICE, but
note the caveat that applies to get_rdomain:
> Before Linux 3.8, this socket option could be set, but could not
> retrieved with getsockopt(2). Since Linux 3.8, it is readable.
(from https://linux.die.net/man/7/socket)
Implementing set_process_rdomain() on Linux seems a little convoluted,
but "ip vrf exec" shows the procedure (NB. we can't copy the code
because of licensing)
https://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git/tree/ip/ipvrf.c?id=4b73d52f8a81919f511cd47d39251f74f6a37c7d#n353
--
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