]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: fix built-in chain ordering of the nat table
authorPablo Neira Ayuso <pablo@soleta.eu>
Tue, 16 Jul 2013 20:18:47 +0000 (22:18 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 Dec 2013 22:50:38 +0000 (23:50 +0100)
commit86eed10c9f2c42e0f50eb4e527a48ee9e63146f4
treee88999d765d469495ff906e19ef8b41ad916098e
parent15539a1f5689beb00a84df87d698ee8f06824bb9
nft: fix built-in chain ordering of the nat table

Should be:

% iptables -L -n -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination

instead of:

% xtables -L -n -t nat
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination

Reported-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@soleta.eu>
etc/xtables.conf
iptables/nft.c