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

--- Comment #13 from Damien Miller <[email protected]> ---
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to