blob: 0e6381c528059b993a2d99b9cad200250c95e094 (
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
28
29
30
31
32
33
34
35
36
|
<rule>
<family>ip</family>
<table>filter</table>
<chain>output</chain>
<handle>5</handle>
<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>
<expr type="immediate">
<dreg>0</dreg>
<immediatedata>
<data_reg type="verdict">
<verdict>drop</verdict>
</data_reg>
</immediatedata>
</expr>
</rule>
<!-- nft add rule filter output ip daddr 192.168.0.1 counter drop -->
|