[Bug 278232] Jail IPv4 source address selection inside a jail not working

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 10 Apr 2024 02:02:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278232

--- Comment #6 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to Dirk Meyer from comment #4)
> ip4.addr
> ip4.saddrsel

Those options are per jail. That is to say, they should be applied either in
the command line or in the jail.conf .

> There is also a sysctl, but I am unable to change it outside,
> nor does it reflect the status inside the jail:

> host# sysctl security.jail.param.ip4.saddrsel=1
> security.jail.param.ip4.saddrsel: 0 -> 0

> Is this the expected behavior ?
Yes. Those sysctl knobs serve no purposes but are kept only for backward
compatibility. Users should not have contact with them. See also the commit log
[1].


1.
https://cgit.freebsd.org/src/commit/?id=0304c7316344d7e2d1dee3aa0249724ec629e8ef

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