Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2025 14:07:02 +0100
From:      A FreeBSD User <freebsd@walstatt-de.de>
To:        Ronald Klop <ronald-lists@klop.ws>
Cc:        "Andrey V. Elsukov" <ae@FreeBSD.org>, current@freebsd.org
Subject:   Re: ipfw changes and jails
Message-ID:  <20250317140426.5272841c@thor.sb211.local>
In-Reply-To: <35785817.6251.1742215060908@localhost>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Am Mon, 17 Mar 2025 13:37:40 +0100 (CET)
Ronald Klop <ronald-lists@klop.ws> schrieb:

> Hi,
> 
> When running 14.2-RELEASE VNET jails on 15-CURRENT ipfw does not work anymore in the jail.
> 
> Can this commit be involved?
> https://cgit.freebsd.org/src/commit/?id=4a77657cbc01
> 
> Copying the /sbin/ipfw binary from 15-CURRENT to /sbin in the 14.2 jail resolves the issue
> for me.
> 
> Example errors:
> add net ::0.0.0.0: gateway ::1
> ipfw: setsockopt(IP_FW_XDEL): Invalid argument
> ipfw: getsockopt(IP_FW_XADD): Invalid argument
> 
> # ipfw show
> ipfw: retrieving config failed: Invalid argument
> 
> 
> Regards,
> Ronald.
>  

Had the same problem here a couple of days ago.

Host's kernel and jail's/client's binaries are out of sync. I had to synchronise the jail's
binaries.

Kind regards,

oh 

-- 

A FreeBSD user

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCZ9gekQAKCRCxzvs8Oqok
r79OAP9Yak4APIWkL/HLYIkdab0Rwj/LZ4moreWmJFvx1PglxQD6AvyTj+q9Lpie
R0G3G8gxgilD89ckONmQyQSKQPPJgwA=
=qMs5
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250317140426.5272841c>