summaryrefslogtreecommitdiffstats
path: root/tests/py/ip6/reject.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip6/reject.t')
-rw-r--r--tests/py/ip6/reject.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/py/ip6/reject.t b/tests/py/ip6/reject.t
new file mode 100644
index 00000000..60dec90e
--- /dev/null
+++ b/tests/py/ip6/reject.t
@@ -0,0 +1,12 @@
+*ip6;test-ip6
+:output;type filter hook output priority 0
+
+reject;ok
+reject with icmpv6 type no-route;ok
+reject with icmpv6 type admin-prohibited;ok
+reject with icmpv6 type addr-unreachable;ok
+reject with icmpv6 type port-unreachable;ok;reject
+reject with tcp reset;ok;ip6 nexthdr 6 reject with tcp reset
+
+reject with icmpv6 type host-unreachable;fail
+reject with icmp type host-unreachable;fail