summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/reject.t
blob: 6006f0541cb87483354163cc1bfb24bcaadf0340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
:output;type filter hook output priority 0

*ip;test-ip4;output

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