60 lines
2.0 KiB
JSON
60 lines
2.0 KiB
JSON
{
|
|
"compile_table": "PXY_INTERCEPT_COMPILE",
|
|
"group_table": "PXY_INTERCEPT_GROUP",
|
|
"rules": [
|
|
{
|
|
"compile_id": 1,
|
|
"service": 1,
|
|
"action":120,
|
|
"do_blacklist": 1,
|
|
"do_log": 1,
|
|
"effective_rage": 0,
|
|
"user_region": "zone=pkt_payload;substitute=/AAAA/BBBB",
|
|
"is_valid": "yes",
|
|
"groups": [
|
|
{
|
|
"group_name": "Untitled",
|
|
"regions": [
|
|
{
|
|
"table_name": "PXY_INTERCEPT_IP",
|
|
"table_type": "ip",
|
|
"table_content": {
|
|
"addr_type": "ipv4",
|
|
"src_ip": "192.168.192.135",
|
|
"mask_src_ip": "255.255.255.255",
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"table_name": "PXY_INTERCEPT_PKT_BIN",
|
|
"table_type": "string",
|
|
"table_content": {
|
|
"keywords": "AAAA",
|
|
"expr_type": "regex",
|
|
"match_method": "sub",
|
|
"format":"uncase plain"
|
|
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"plugin_table": [
|
|
{
|
|
"table_name": "PXY_OBJ_SPOOFING_IP_POOL",
|
|
"table_content": [
|
|
"1\t4\t0\t192.168.11.127\t0\t0\t\t0\t0\t1\t123\t10\t{}\t20181217-0:22"
|
|
]
|
|
}
|
|
]
|
|
}
|