summaryrefslogtreecommitdiffstats
path: root/tests/xmlfiles/52-rule-real.xml
blob: 6cb3a0e86045f618934db27d5eb02c266773f01f (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
25
26
27
<rule>
	<family>ip</family>
	<table>filter</table>
	<chain>output</chain>
	<handle>14</handle>
	<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 -->