Wrong outgoing interface with multiple routing tables

Oleg Sharoyko os at sfedu.ru
Mon Jul 27 20:14:13 UTC 2009


Julian Elischer wrote:

> great.. in your simple server, can you do the sockopt on the socket 
> AFTER you did the listen()?
> (just as a test).

Doesn't help. I have also tried to add setsockopt() after accept() (for 
a new socket) and in this case the only packet that is being sent out 
via wrong interface is the SYN+ACK from server.

I'll try to look into the kernel code tomorrow and will report any findings.

--
Oleg


More information about the freebsd-net mailing list