From 2fe4d077efd9e4801f03848b3ae0aa9925079ac1 Mon Sep 17 00:00:00 2001 From: Alvaro Neira Date: Tue, 21 Oct 2014 16:15:46 +0200 Subject: test: update and add the reject tests for ip, ip6, bridge and inet. Signed-off-by: Alvaro Neira Ayuso Signed-off-by: Pablo Neira Ayuso --- tests/regression/ip/reject.t | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'tests/regression/ip/reject.t') diff --git a/tests/regression/ip/reject.t b/tests/regression/ip/reject.t index e7fb15b3..70a63a0b 100644 --- a/tests/regression/ip/reject.t +++ b/tests/regression/ip/reject.t @@ -1,5 +1,14 @@ *ip;test-ip4 -*ip;test-inet :output;type filter hook output priority 0 reject;ok +reject with icmp type host-unreachable;ok +reject with icmp type net-unreachable;ok +reject with icmp type prot-unreachable;ok +reject with icmp type port-unreachable;ok;reject +reject with icmp type net-prohibited;ok +reject with icmp type host-prohibited;ok +reject with icmp type admin-prohibited;ok + +reject with icmp type no-route;fail +reject with icmpv6 type no-route;fail -- cgit v1.2.3