summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/reject.t
blob: 70a63a0b4d7c486f39d1fa429ab76e90d889a79f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
*ip;test-ip4
: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