summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/ether-ip.t
blob: 0c8c7f9d60b6261b07b41a0dace95ec54026438d (plain)
1
2
3
4
5
6
7
8
:input;type filter hook input priority 0
:ingress;type filter hook ingress device lo priority 0

*inet;test-inet;input
*netdev;test-netdev;ingress

tcp dport 22 iiftype ether ip daddr 1.2.3.4 ether saddr 00:0f:54:0c:11:4 accept;ok;tcp dport 22 ether saddr 00:0f:54:0c:11:04 ip daddr 1.2.3.4 accept
tcp dport 22 ip daddr 1.2.3.4 ether saddr 00:0f:54:0c:11:04;ok