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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
{
"nftables": [
{
"metainfo": {
"version": "VERSION",
"release_name": "RELEASE_NAME",
"json_schema_version": 1
}
},
{
"table": {
"family": "ip",
"name": "filter",
"handle": 0
}
},
{
"quota": {
"family": "ip",
"name": "foo1",
"table": "filter",
"handle": 0,
"comment": "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678",
"bytes": 0,
"used": 0,
"inv": false
}
},
{
"quota": {
"family": "ip",
"name": "q",
"table": "filter",
"handle": 0,
"comment": "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678",
"bytes": 1200,
"used": 0,
"inv": true
}
},
{
"counter": {
"family": "ip",
"name": "c",
"table": "filter",
"handle": 0,
"comment": "test2",
"packets": 0,
"bytes": 0
}
},
{
"ct helper": {
"family": "ip",
"name": "h",
"table": "filter",
"handle": 0,
"comment": "test3",
"type": "sip",
"protocol": "tcp",
"l3proto": "ip"
}
},
{
"ct expectation": {
"family": "ip",
"name": "e",
"table": "filter",
"handle": 0,
"comment": "test4",
"protocol": "tcp",
"dport": 666,
"timeout": 100,
"size": 96,
"l3proto": "ip"
}
},
{
"limit": {
"family": "ip",
"name": "l",
"table": "filter",
"handle": 0,
"comment": "test5",
"rate": 400,
"per": "hour",
"burst": 5
}
},
{
"synproxy": {
"family": "ip",
"name": "s",
"table": "filter",
"handle": 0,
"comment": "test6",
"mss": 1460,
"wscale": 2
}
}
]
}
|