diff options
author | Alvaro Neira <alvaroneay@gmail.com> | 2014-10-21 16:15:46 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-22 12:12:34 +0200 |
commit | 2fe4d077efd9e4801f03848b3ae0aa9925079ac1 (patch) | |
tree | dcebcbc997db865297510bc59a64bdbf82ad4d47 /tests/regression/ip/reject.t | |
parent | 17b495957b29e699f59874d1ceca9535921b1a79 (diff) |
test: update and add the reject tests for ip, ip6, bridge and inet.
Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/regression/ip/reject.t')
-rw-r--r-- | tests/regression/ip/reject.t | 11 |
1 files changed, 10 insertions, 1 deletions
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 |