summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/reject.t
blob: cc5561a0bcc04cf8356fa591718121a878c9d86d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
: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
mark 0x80000000 reject with tcp reset;ok;meta mark 0x80000000 reject with tcp reset

reject with icmp type no-route;fail
reject with icmpv6 type no-route;fail