diff options
author | Florian Westphal <fw@strlen.de> | 2018-11-02 16:19:20 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-11-03 20:35:22 +0100 |
commit | c3e8dbd4139589245403fd06479af9725c2bc341 (patch) | |
tree | 6a8a2b41b7891620875b3349930e68b267675b0a /extensions/libebt_ip6.t | |
parent | cd90cef0c18a996f499c9e31fff7ee0554fe39f9 (diff) |
ebtables: add test cases
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libebt_ip6.t')
-rw-r--r-- | extensions/libebt_ip6.t | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extensions/libebt_ip6.t b/extensions/libebt_ip6.t new file mode 100644 index 00000000..98634800 --- /dev/null +++ b/extensions/libebt_ip6.t @@ -0,0 +1,12 @@ +:INPUT,FORWARD,OUTPUT +-p ip6 --ip6-src ! dead::beef/64 -j ACCEPT;-p IPv6 --ip6-src ! dead::/64 -j ACCEPT;OK +-p IPv6 --ip6-dst dead:beef::/64 -j ACCEPT;=;OK +-p IPv6 --ip6-dst f00:ba::;=;OK +-p IPv6 --ip6-tclass 0xFF;=;OK +-p IPv6 --ip6-proto tcp --ip6-dport 22;=;OK +-p IPv6 --ip6-proto udp --ip6-sport 1024:65535;=;OK +-p IPv6 --ip6-proto 253;=;OK +-p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type echo-request -j CONTINUE;=;OK +-p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type echo-request;=;OK +-p ip6 --ip6-protocol icmpv6 --ip6-icmp-type 1/1;-p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type communication-prohibited -j CONTINUE;OK +-p IPv6 --ip6-proto ipv6-icmp --ip6-icmp-type ! 1:10/0:255;=;OK |