summaryrefslogtreecommitdiffstats
path: root/tests/regression/ip/ether.t
blob: 4d30f51c1bcdac771f15dc26758e15dc93becdce (plain)
1
2
3
4
5
6
7
8
*ip;test-ip

:input;type filter hook input priority 0

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