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
|
{
"compile_table": "NTC_COMPILE",
"group_table": "NTC_GROUP",
"rules": [
{
"compile_id": 6,
"service": 12,
"action": 1,
"do_blacklist": 1,
"do_log": 1,
"effective_rage": 0,
"user_region": "anything",
"is_valid": "yes",
"groups": [
{
"group_name": "group_7",
"regions": [
{
"table_name": "NTC_UNIVERSAL_PROTO_TYPE",
"table_type": "intval",
"table_content": {
"low_boundary": 10,
"up_boundary": 10
}
}
]
},
{
"group_name": "group_6",
"regions": [
{
"table_name": "NTC_UNIVERSAL_IP",
"table_type": "ip",
"table_content": {
"addr_type": "ipv4",
"src_ip": "211.144.24.29",
"mask_src_ip": "255.255.0.0",
"src_port": "0",
"mask_src_port": "65535",
"dst_ip": "0.0.0.0",
"mask_dst_ip": "255.255.255.255",
"dst_port": "0",
"mask_dst_port": "65535",
"protocol": 0,
"direction": "double"
}
}
]
}
# {
# "group_name": "group_8",
# "regions": [
# {
# "table_name": "DJ_SSL_REGION",
# "table_type": "expr_plus",
# "table_content": {
# "district": "SAN",
# "keywords": "jd.com",
# "expr_type": "and",
# "match_method": "sub",
# "format": "uncase plain"
# }
# }
# ]
# }
]
}
],
"plugin_table": [
{
"table_name": "DNS_RESPONSE_STRATEGY",
"table_content": [
"1\t192.168.0.1\t101",
"2\t192.168.0.2\t101",
"3\t192.168.1.1\t102"
]
},
{
"table_name": "DNS_GROUP_TYPE",
"table_content": [
"1\t3388\t99\t1",
"2\t3355\t66\t1",
"3\tcccc\t11\t1"
]
}
]
}
|