mirror of
https://github.com/moby/moby.git
synced 2026-08-03 06:30:59 +00:00
nftabler,nftablesdoc: stringify numerical dstnat prio
When nftablesdoc tests dump the state of nftables, the argument '-y' / '--numeric-priority' isn't used, so all priorities should be stringified. However, there's a bug in older versions of nftables that prevents the stringification of the 'dstnat' priority — it's currently dumped as '-100'. New versions fix that, and thus running these tests on Debian 13 fails because of this discrepancy with golden files. So, look for 'type nat hook output priority -100' and stringify the priority to ensure compatibility across versions of nft. Signed-off-by: Albin Kerouanton <albinker@gmail.com>
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"fmt"
|
||||
"net"
|
||||
"net/netip"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/moby/moby/v2/daemon/libnetwork/drivers/bridge/internal/firewaller"
|
||||
@@ -99,8 +100,9 @@ func testNftabler(t *testing.T, tn string, config firewaller.Config, netConfig f
|
||||
assert.Assert(t, is.Contains(res.Combined(), "No such file or directory"))
|
||||
return
|
||||
}
|
||||
out := strings.ReplaceAll(res.Combined(), "type nat hook output priority -100", "type nat hook output priority dstnat")
|
||||
assert.Assert(t, res.Error)
|
||||
golden.Assert(t, res.Combined(), name+"__"+family+".golden")
|
||||
golden.Assert(t, out, name+"__"+family+".golden")
|
||||
}
|
||||
|
||||
makePB := func(hip string, cip netip.Addr) types.PortBinding {
|
||||
|
||||
@@ -22,7 +22,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ table ip6 docker-bridges {
|
||||
}
|
||||
|
||||
chain nat-OUTPUT {
|
||||
type nat hook output priority -100; policy accept;
|
||||
type nat hook output priority dstnat; policy accept;
|
||||
ip6 daddr != ::1 fib daddr type local counter packets 0 bytes 0 jump nat-prerouting-and-output
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user