Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2025 13:37:40 +0100 (CET)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        "Andrey V. Elsukov" <ae@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   ipfw changes and jails
Message-ID:  <35785817.6251.1742215060908@localhost>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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.
 
[-- Attachment #2 --]
<html><head></head><body>Hi,<br>
<br>
When running 14.2-RELEASE VNET jails on 15-CURRENT ipfw does not work anymore in the jail.<br>
<br>
Can this commit be involved?<br>
<a href="https://cgit.freebsd.org/src/commit/?id=4a77657cbc01">https://cgit.freebsd.org/src/commit/?id=4a77657cbc01</a><br>;
<br>
Copying the /sbin/ipfw binary from 15-CURRENT to /sbin in the 14.2 jail resolves the issue for me.<br>
<br>
Example errors:<br>
add net ::0.0.0.0: gateway ::1<br>
ipfw: setsockopt(IP_FW_XDEL): Invalid argument<br>
ipfw: getsockopt(IP_FW_XADD): Invalid argument<br>
<br>
# ipfw show<br>
ipfw: retrieving config failed: Invalid argument<br>
<br>
<br>
Regards,<br>
Ronald.<br>
&nbsp;</body></html>
help

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