openwrt/package/network/utils
Etienne Champetier b0bd6599e8 iptables: rework ip(6)tables-nft dependencies
according to iptables-nft man page,
"These tools use the libxtables framework extensions and hook to the nf_tables
kernel subsystem using the nft_compat module."

This means that to work, iptables-nft needs the same modules as
iptables legacy except the ip(6)table-{filter,mangle,nat,raw}
ip_tables, ip6tables.
When those modules are loaded iptables-nft-save output contains
"# Warning: iptables-legacy tables present, use iptables-legacy-save to see them"
But as long as it's empty it should not be a problem.

To have nft properly display the rules created by ip(6)tables-nft we need
all iptables targets and matches to be built as extension and not built-in
(/usr/lib/iptables/libip(6)t_*.so)

When switching a package to iptables-nft, you need to keep the
iptables-mod-* dependencies

This patch does minimal changes:
- remove the direct iptables-nft -> iptables dependency
- and more important add nft-compat dependency

The rule
iptables-nft -A OUTPUT -d 8.8.8.8 -m comment --comment "aaa" -j REJECT
becomes
table ip filter {
	chain OUTPUT {
		type filter hook output priority filter; policy accept;
		ip daddr 8.8.8.8 # xt_comment counter packets 0 bytes 0 # xt_REJECT
	}
}

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2022-02-03 00:02:31 +01:00
..
adb-enablemodem Move enablemodem from ramips to new package adb-enablemodem and make it used also by TL-MR6400 2017-05-27 07:54:40 +02:00
arptables treewide: switch git.netfilter.org to HTTPS 2017-10-08 21:10:36 +03:00
bpftools bpftools: fix compilation with musl 1.2.x 2021-09-22 19:04:02 +02:00
comgt package/comgt: Handle bind/unbind events 2021-07-02 11:09:57 +02:00
ebtables ebtables: update to latest git 2018-06-27 2018-07-02 17:33:55 +02:00
ethtool ethtool: Update to version 5.16 2022-02-01 21:25:02 +01:00
iproute2 iproute2: update to 5.15 2021-11-13 18:00:11 +01:00
ipset build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 11:29:38 +01:00
iptables iptables: rework ip(6)tables-nft dependencies 2022-02-03 00:02:31 +01:00
iw iw: Update to version 5.16 2021-12-14 22:59:10 +01:00
iwcap iwcap: fix handling kill signal during dump 2017-03-14 13:29:03 +01:00
iwinfo iwinfo: update to latest Git HEAD and move device info into -data package 2021-07-11 16:08:22 +02:00
layerscape/restool layerscape: restool: Remove build of manpages 2021-12-28 16:09:12 +01:00
linux-atm linux-atm: Include linux/sockios.h for SIOCGSTAMP 2020-04-09 00:12:46 +02:00
ltq-dsl-base ltq-dsl-base: Make package nonshared to fix image builder 2021-05-04 22:25:47 +02:00
nftables nftables: allow quoted string in flowtable_expr_member 2021-12-31 02:07:13 +02:00
resolveip network/utils/resolveip: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
rssileds rssileds: use new application led trigger backend 2021-03-05 00:10:06 -10:00
tcpdump tcpdump: libpcap: Remove http://www.us.tcpdump.org mirror 2021-12-27 00:49:08 +01:00
umbim umbim: add missing json_close_object call 2021-12-27 13:51:41 +01:00
uqmi uqmi: update to git HEAD 2022-02-02 02:37:21 +00:00
wireguard-tools wireguard-tools: add uci option to disable wireguard peers 2021-10-18 12:14:36 -10:00
wireless-tools build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 11:29:38 +01:00
wpan-tools wpan-tools: clean up Makefile 2019-04-06 19:14:06 +02:00
wwan wwan: replace backticks by $(...) 2020-05-13 19:01:23 +02:00