summaryrefslogtreecommitdiffstats
path: root/tests/xmlfiles/42-rule-real.xml
blob: 298181cb339da21cd7522aacfbc77c14ddde79c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<rule family="ip" table="filter" chain="output" handle="4">
	<rule_flags>0</rule_flags>
	<expr type="payload">
		<dreg>1</dreg>
		<offset>16</offset>
		<len>4</len>
		<base>network</base>
	</expr>
	<expr type="cmp">
		<sreg>1</sreg>
		<op>eq</op>
		<cmpdata>
			<data_reg type="value">
				<len>4</len>
				<data0>0x0100a8c0</data0>
			</data_reg>
		</cmpdata>
	</expr>
	<expr type="counter">
		<pkts>0</pkts>
		<bytes>0</bytes>
	</expr>
</rule>
<!-- nft add rule filter output ip daddr 192.168.0.1 counter -->