INADDR_ANY bind in a multiip jail

Andre Oppermann andre at freebsd.org
Sat Dec 4 14:38:10 PST 2004


Meno Abels wrote:
> 
> Hello,
> 
> i just found a patch from Pawel Jakub Dawidek(mijail5) which do not
> need the pcb bind
> to multiple ip's. He solve the problem my marking the socket that is bound to a
> jail with inaddr_any. With this mark he is filtering the incoming
> connection lookup to
> the pcb structure on  jail bases. This should enable the behavior that
> i requested.

Do you have a link?  I'd like to have a look at the code.

> So that could be a approach to solve the problem with a few sourceline changes.

Sounds better.

> But is it also possible to bind in two jails the same port with inaddr_any?

Have to see the code to answer that.  Probably not.

-- 
Andre


More information about the freebsd-net mailing list