diff options
author | Phil Sutter <phil@nwl.cc> | 2022-10-09 13:01:45 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2024-01-10 16:07:31 +0100 |
commit | fa1f5ff52580f805cf5dc6190bd4da8ff5afe8e5 (patch) | |
tree | 9c67379758bf4ce3f0f7a2f81e44da73408fc545 /extensions/libebt_ip6.t | |
parent | b90e5dc6bee72a3111b561e712d0f2c77c487a00 (diff) |
extensions: libebt_ip6: Use guided option parser
Diffstat (limited to 'extensions/libebt_ip6.t')
-rw-r--r-- | extensions/libebt_ip6.t | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extensions/libebt_ip6.t b/extensions/libebt_ip6.t index fa1038af..19358431 100644 --- a/extensions/libebt_ip6.t +++ b/extensions/libebt_ip6.t @@ -2,14 +2,22 @@ -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-dst ! f00:ba::;=;OK +-p IPv6 --ip6-src 10.0.0.1;;FAIL -p IPv6 --ip6-tclass 0xFF;=;OK +-p IPv6 --ip6-tclass ! 0xFF;=;OK -p IPv6 --ip6-proto tcp --ip6-dport 22;=;OK -p IPv6 --ip6-proto tcp --ip6-dport ! 22;=;OK +-p IPv6 --ip6-proto tcp --ip6-sport ! 22 --ip6-dport 22;=;OK -p IPv6 --ip6-proto udp --ip6-sport 1024:65535;=;OK -p IPv6 --ip6-proto 253;=;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 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 --ip6-proto ipv6-icmp ! --ip6-icmp-type 1:10/0:255;=;FAIL ! -p IPv6 --ip6-proto ipv6-icmp ! --ip6-icmp-type 1:10/0:255;=;FAIL +-p IPv6 --ip6-proto tcp --ip6-sport 22 --ip6-icmp-type echo-request;;FAIL +-p IPv6 --ip6-proto tcp --ip6-dport 22 --ip6-icmp-type echo-request;;FAIL |