summaryrefslogtreecommitdiffstats
path: root/tests/files/feat-adjancent-load-merging
blob: 11771746d8a9d2ca8c6c02e8be212b785a100c11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! nft -f

# adjacent payload expressions: 4 bytes in order
add rule filter output tcp sport 1024 tcp dport 22 counter

# adjacent payload expressions: 8 bytes in order
add rule filter output ip saddr 192.168.0.1 ip daddr 192.168.0.100 counter

# adjacent payload expressions: 8 bytes in order
add rule filter output tcp sequence 0 tcp sport 1024 tcp dport 22

# adjacent payload expressions: 8 bytes in reverse order
add rule filter output tcp sport 1024 tcp dport 22 tcp sequence 0