summaryrefslogtreecommitdiffstats
path: root/tests/xmlfiles/56-rule-real.xml
blob: 6bd41a1270626d2c9c1846fa5f8fc0f51b790494 (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>18</handle>
	<flags>0</flags>
	<expr type="ct">
		<dreg>1</dreg>
		<key>expiration</key>
		<dir>0</dir>
	</expr>
	<expr type="cmp">
		<sreg>1</sreg>
		<op>eq</op>
		<cmpdata>
			<data_reg type="value">
				<len>4</len>
				<data0>0x0000001e</data0>
			</data_reg>
		</cmpdata>
	</expr>
	<expr type="counter">
		<pkts>0</pkts>
		<bytes>0</bytes>
	</expr>
</rule>
<!-- nft add rule filter output ct expiration 30 counter -->