summaryrefslogtreecommitdiffstats
path: root/tests/xmlfiles/52-rule-real.xml
blob: 289a6eb3d4cdd5ecb6db006745448baa25c32ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<rule family="ip" table="filter" chain="output" handle="14">
	<rule_flags>0</rule_flags>
	<expr type="ct">
		<dreg>1</dreg>
		<key>direction</key>
		<dir>0</dir>
	</expr>
	<expr type="cmp">
		<sreg>1</sreg>
		<op>eq</op>
		<cmpdata>
			<data_reg type="value">
				<len>1</len>
				<data0>0x00000001</data0>
			</data_reg>
		</cmpdata>
	</expr>
	<expr type="counter">
		<pkts>50</pkts>
		<bytes>11247</bytes>
	</expr>
</rule>
<!-- nft add rule filter output ct direction reply counter -->