summaryrefslogtreecommitdiffstats
path: root/tests/py/netdev/reject.t
blob: a4434b6c126b6732ed5a493897ab95012fdd4d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
:ingress;type filter hook ingress device lo priority 0

*netdev;test-netdev;ingress

reject with icmp type host-unreachable;ok;reject
reject with icmp type net-unreachable;ok;reject
reject with icmp type prot-unreachable;ok;reject
reject with icmp type port-unreachable;ok;reject
reject with icmp type net-prohibited;ok;reject
reject with icmp type host-prohibited;ok;reject
reject with icmp type admin-prohibited;ok;reject

reject with icmpv6 type no-route;ok;reject
reject with icmpv6 type admin-prohibited;ok;reject
reject with icmpv6 type addr-unreachable;ok;reject
reject with icmpv6 type port-unreachable;ok;reject
reject with icmpv6 type policy-fail;ok;reject
reject with icmpv6 type reject-route;ok;reject

reject;ok