95 lines
3.0 KiB
JSON
95 lines
3.0 KiB
JSON
{
|
|
"compile_table": "MATT_CONFIG_COMPILE",
|
|
"group_table": "MATT_CONFIG_GROUP",
|
|
"rules": [
|
|
{
|
|
"compile_id": 123,
|
|
"service": 1,
|
|
"action": 2,
|
|
"do_blacklist": 1,
|
|
"do_log": 1,
|
|
"effective_rage": 0,
|
|
"user_region": "anything",
|
|
"is_valid": "yes",
|
|
"groups": [
|
|
{
|
|
"group_name": "IP_group",
|
|
"regions": [
|
|
{
|
|
"table_name": "HID_IP",
|
|
"table_type": "ip",
|
|
"table_content": {
|
|
"addr_type": "ipv4",
|
|
"src_ip": "114.114.114.114",
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"compile_id": 125,
|
|
"service": 1,
|
|
"action": 1,
|
|
"do_blacklist": 1,
|
|
"do_log": 1,
|
|
"effective_range": 0,
|
|
"user_region": "123.56.104.218",
|
|
"is_valid": "yes",
|
|
"groups": [
|
|
{
|
|
"group_name": "group1",
|
|
"regions": [
|
|
{
|
|
"table_name": "HID_CONTENT",
|
|
"table_type": "string",
|
|
"table_content": {
|
|
"keywords": "3d87a97d",
|
|
"expr_type": "none",
|
|
"match_method": "sub",
|
|
"format":"hexbin"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"compile_id": 127,
|
|
"service": 1,
|
|
"action": 1,
|
|
"do_blacklist": 1,
|
|
"do_log": 1,
|
|
"effective_range": 0,
|
|
"user_region": "123.56.104.218",
|
|
"is_valid": "yes",
|
|
"groups": [
|
|
{
|
|
"group_name": "group2",
|
|
"regions": [
|
|
{
|
|
"table_name": "HID_CONTENT",
|
|
"table_type": "string",
|
|
"table_content": {
|
|
"keywords": "3d87a979",
|
|
"expr_type": "none",
|
|
"match_method": "sub",
|
|
"format":"hexbin"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|