]> git.ipfire.org Git - thirdparty/iptables.git/commit
Revert --compat option related commits
authorPhil Sutter <phil@nwl.cc>
Tue, 15 Aug 2023 11:47:28 +0000 (13:47 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 1 Sep 2023 11:15:03 +0000 (13:15 +0200)
commit35ff97e9aca8cd301ff9b9a95b0a72de1aeb700b
tree5f4b36dfccf29e4290e48b3a7dfe6bc7dab5dbf2
parent63e4a64e943be64a7e0486838071b981074e696d
Revert --compat option related commits

This reverts the following commits:

b14c971db6db0 ("tests: Test compat mode")
11c464ed015b5 ("Add --compat option to *tables-nft and *-nft-restore commands")
ca709b5784c98 ("nft: Introduce and use bool nft_handle::compat")
402b9b3c07c81 ("nft: Pass nft_handle to add_{target,action}()")

This implementation of a compatibility mode implements rules using
xtables extensions if possible and thus relies upon existence of those
in kernel space. Assuming no viable replacement for the internal
mechanics of this mode will be found in foreseeable future, it will
effectively block attempts at deprecating and removing of these xtables
extensions in favor of nftables expressions and thus hinder upstream's
future plans for iptables.

Signed-off-by: Phil Sutter <phil@nwl.cc>
20 files changed:
iptables-test.py
iptables/arptables-nft-restore.8
iptables/arptables-nft.8
iptables/ebtables-nft.8
iptables/iptables-restore.8.in
iptables/iptables.8.in
iptables/nft-arp.c
iptables/nft-bridge.c
iptables/nft-ipv4.c
iptables/nft-ipv6.c
iptables/nft-shared.c
iptables/nft.c
iptables/nft.h
iptables/tests/shell/testcases/nft-only/0011-compat-mode_0 [deleted file]
iptables/xshared.c
iptables/xshared.h
iptables/xtables-arp.c
iptables/xtables-eb.c
iptables/xtables-restore.c
iptables/xtables.c