Date: Tue, 09 Dec 2008 19:06:31 +0100 From: Angelo Turetta <aturetta@commit.it> To: Julian Elischer <julian@elischer.org> Cc: freebsd-net@freebsd.org Subject: Re: Multiple routing table clarification Message-ID: <493EB3A7.40108@commit.it> In-Reply-To: <493EAB8F.7090509@elischer.org> References: <493E66BD.6090907@commit.it> <493EAB8F.7090509@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote: > Angelo Turetta wrote: >> - is it possible for a single process to listen for TCP connections >> using more than one socket, each with its own 'fib'? > > yes, but only if you have source. you need to do a > setsockopt(SOO_SETFIB,...) on each socket before you do the listen(). > Otherwise all socekts from the same process get the same fib. OK, shouldn't be too hard to hack squid for this. > HOWEVER I have been asked to add a feature where setting a fib of -1 > on a socket will allow it to get its fib from the incoming SYN packet.. > Ithink that would bewhat you are asking for. Yes, please! It would be much more general-purpose than hacking squid, of course if -1 be supported by setfib too... I can help test a patch on RELENG_7, whenever "someone" writes it ;-) Thanks a lot, Angelo Turetta
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?493EB3A7.40108>