* [PATCH nft] files: add arp filter and add in/output to nat skeleton
@ 2017-08-23 15:56 Florian Westphal
2017-08-23 21:40 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Florian Westphal @ 2017-08-23 15:56 UTC (permalink / raw)
To: netfilter-devel; +Cc: Florian Westphal
Signed-off-by: Florian Westphal <fw@strlen.de>
---
files/nftables/Makefile.am | 3 ++-
files/nftables/ipv4-nat | 6 ++++--
files/nftables/ipv6-nat | 6 ++++--
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/files/nftables/Makefile.am b/files/nftables/Makefile.am
index a4c7ac7c980b..77d5c2a66e8f 100644
--- a/files/nftables/Makefile.am
+++ b/files/nftables/Makefile.am
@@ -1,6 +1,7 @@
pkgsysconfdir = ${sysconfdir}/nftables
-dist_pkgsysconf_DATA = bridge-filter \
+dist_pkgsysconf_DATA = arp-filter \
+ bridge-filter \
inet-filter \
ipv4-filter \
ipv4-mangle \
diff --git a/files/nftables/ipv4-nat b/files/nftables/ipv4-nat
index 01c6c3d8d6a1..130a729b1d36 100644
--- a/files/nftables/ipv4-nat
+++ b/files/nftables/ipv4-nat
@@ -1,6 +1,8 @@
#! @sbindir@nft -f
table nat {
- chain prerouting { type nat hook prerouting priority -150; }
- chain postrouting { type nat hook postrouting priority -150; }
+ chain prerouting { type nat hook prerouting priority -100; }
+ chain input { type nat hook input priority 100; }
+ chain output { type nat hook output priority -100; }
+ chain postrouting { type nat hook postrouting priority 100; }
}
diff --git a/files/nftables/ipv6-nat b/files/nftables/ipv6-nat
index 3f57c56dea78..e7816860f4a7 100644
--- a/files/nftables/ipv6-nat
+++ b/files/nftables/ipv6-nat
@@ -1,6 +1,8 @@
#! @sbindir@nft -f
table ip6 nat {
- chain prerouting { type nat hook prerouting priority -150; }
- chain postrouting { type nat hook postrouting priority -150; }
+ chain prerouting { type nat hook prerouting priority -100; }
+ chain input { type nat hook input priority 100; }
+ chain output { type nat hook output priority -100; }
+ chain postrouting { type nat hook postrouting priority 100; }
}
--
2.13.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH nft] files: add arp filter and add in/output to nat skeleton
2017-08-23 15:56 [PATCH nft] files: add arp filter and add in/output to nat skeleton Florian Westphal
@ 2017-08-23 21:40 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2017-08-23 21:40 UTC (permalink / raw)
To: Florian Westphal; +Cc: netfilter-devel
On Wed, Aug 23, 2017 at 05:56:12PM +0200, Florian Westphal wrote:
> Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-23 21:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23 15:56 [PATCH nft] files: add arp filter and add in/output to nat skeleton Florian Westphal
2017-08-23 21:40 ` Pablo Neira Ayuso
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.