Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2024 15:01:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        jail@FreeBSD.org
Subject:   [Bug 278232] Jail IPv4 source address selection inside a jail not working
Message-ID:  <bug-278232-29815-b1YWfRQ4UX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278232-29815@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278232-29815@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278232

--- Comment #12 from Dirk Meyer <dinoex@FreeBSD.org> ---

Sorry this text is still unclear to me.

I would expect "ip4.saddrsel" to allow source selection
and "ip4.nosaddrsel" will disable it.

but "ip4.nosaddrsel" is not documented in "man jail"?

I confirmed removing "ip4.saddrsel" does not change anything.

quote from "man jail"

[...]
For IPv4 the first address given will be used as the source address
when source address selection on unbound sockets cannot find a
better match.  [...]

What is the correct way to have "source address selection" in the jail?

For now only with "ip4=3Dinherit" I can see the RFC1918 IP is used.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278232-29815-b1YWfRQ4UX>