Debian Codegraph @

tests/shell/testcases/include/dumps/0020include_chain_0.json-nft

raw
1 {
2 "nftables": [
3 {
4 "metainfo": {
5 "version": "VERSION",
6 "release_name": "RELEASE_NAME",
7 "json_schema_version": 1
8 }
9 },
10 {
11 "table": {
12 "family": "inet",
13 "name": "filter",
14 "handle": 0
15 }
16 },
17 {
18 "chain": {
19 "family": "inet",
20 "table": "filter",
21 "name": "input2",
22 "handle": 0,
23 "type": "filter",
24 "hook": "input",
25 "prio": 0,
26 "policy": "accept"
27 }
28 },
29 {
30 "chain": {
31 "family": "inet",
32 "table": "filter",
33 "name": "output2",
34 "handle": 0,
35 "type": "filter",
36 "hook": "output",
37 "prio": 0,
38 "policy": "accept"
39 }
40 },
41 {
42 "rule": {
43 "family": "inet",
44 "table": "filter",
45 "chain": "input2",
46 "handle": 0,
47 "expr": [
48 {
49 "match": {
50 "op": "==",
51 "left": {
52 "payload": {
53 "protocol": "ip",
54 "field": "saddr"
55 }
56 },
57 "right": "1.2.3.4"
58 }
59 },
60 {
61 "match": {
62 "op": "==",
63 "left": {
64 "payload": {
65 "protocol": "tcp",
66 "field": "dport"
67 }
68 },
69 "right": {
70 "set": [
71 22,
72 123,
73 443
74 ]
75 }
76 }
77 },
78 {
79 "drop": null
80 }
81 ]
82 }
83 },
84 {
85 "rule": {
86 "family": "inet",
87 "table": "filter",
88 "chain": "output2",
89 "handle": 0,
90 "expr": [
91 {
92 "match": {
93 "op": "==",
94 "left": {
95 "payload": {
96 "protocol": "ip",
97 "field": "daddr"
98 }
99 },
100 "right": "1.2.3.4"
101 }
102 },
103 {
104 "match": {
105 "op": "==",
106 "left": {
107 "payload": {
108 "protocol": "tcp",
109 "field": "dport"
110 }
111 },
112 "right": {
113 "set": [
114 22,
115 123,
116 443
117 ]
118 }
119 }
120 },
121 {
122 "drop": null
123 }
124 ]
125 }
126 }
127 ]
128 }