From 6326a9eb445aacf8c5186acc3de0aea7c903a0b7 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 26 Sep 2012 18:29:11 +0200 Subject: extensions: libip6t_REJECT: add unit test Signed-off-by: Pablo Neira Ayuso --- extensions/libip6t_REJECT.t | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 extensions/libip6t_REJECT.t (limited to 'extensions') diff --git a/extensions/libip6t_REJECT.t b/extensions/libip6t_REJECT.t new file mode 100644 index 00000000..5a389420 --- /dev/null +++ b/extensions/libip6t_REJECT.t @@ -0,0 +1,9 @@ +:INPUT,FORWARD,OUTPUT +-j REJECT;=;OK +# manpage for IPv6 variant of REJECT does not show up for some reason? +-j REJECT --reject-with icmp6-no-route;=;OK +-j REJECT --reject-with icmp6-adm-prohibited;=;OK +-j REJECT --reject-with icmp6-addr-unreachable;=;OK +-j REJECT --reject-with icmp6-port-unreachable;=;OK +-p tcp -j REJECT --reject-with tcp-reset;=;OK +-j REJECT --reject-with tcp-reset;;FAIL -- cgit v1.2.3