ipfw changes and jails

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Mon, 17 Mar 2025 12:37:40 UTC
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.