support scan ip
This commit is contained in:
@@ -6,20 +6,20 @@
|
||||
"scan_mode":"block",
|
||||
"item_id":1,
|
||||
"group_id":2,
|
||||
"rule": {
|
||||
"custom": {
|
||||
"keywords":3,
|
||||
"expr_type":4,
|
||||
"match_method":5,
|
||||
"is_hexbin":6,
|
||||
"is_valid":7
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
"table_id":2,
|
||||
"table_name":"IP_PLUGIN_TABLE",
|
||||
"table_type":"ip_plugin",
|
||||
"item_id":1,
|
||||
"rule": {
|
||||
"custom": {
|
||||
"ip_type":2,
|
||||
"start_ip":3,
|
||||
"end_ip":4,
|
||||
@@ -31,11 +31,64 @@
|
||||
"table_name":"PLUGIN_TABLE",
|
||||
"table_type":"plugin",
|
||||
"item_id":1,
|
||||
"rule": {
|
||||
"custom": {
|
||||
"key":2,
|
||||
"tag":3,
|
||||
"is_valid":4,
|
||||
"foreign":[6,8,10]
|
||||
}
|
||||
},
|
||||
{
|
||||
"table_id":4,
|
||||
"table_name":"IP_PLUS_CONFIG",
|
||||
"table_type":"ip_plus",
|
||||
"item_id":1,
|
||||
"group_id":2,
|
||||
"custom": {
|
||||
"addr_type":3,
|
||||
"saddr_format":4,
|
||||
"sip1":5,
|
||||
"sip2":6,
|
||||
"sport_format":7,
|
||||
"sport1":8,
|
||||
"sport2":9,
|
||||
"daddr_format":10,
|
||||
"dip1":11,
|
||||
"dip2":12,
|
||||
"dport_format":13,
|
||||
"dport1":14,
|
||||
"dport2":15,
|
||||
"proto":16,
|
||||
"direction":17,
|
||||
"is_valid":18
|
||||
}
|
||||
},
|
||||
{
|
||||
"table_id":5,
|
||||
"table_name":"COMPOSITION_IP_SOURCE",
|
||||
"table_type":"virtual",
|
||||
"physical_table":["IP_PLUS_CONFIG"]
|
||||
},
|
||||
{
|
||||
"table_id":6,
|
||||
"table_name":"COMPOSITION_IP_DEST",
|
||||
"table_type":"virtual",
|
||||
"physical_table":["IP_PLUS_CONFIG"]
|
||||
},
|
||||
{
|
||||
"table_id":7,
|
||||
"table_name":"COMPOSITION_IP_SESSION",
|
||||
"table_type":"virtual",
|
||||
"physical_table":["IP_PLUS_CONFIG"]
|
||||
},
|
||||
{
|
||||
"table_id":8,
|
||||
"table_name":"COMPOSITION_IP",
|
||||
"table_type":"composition",
|
||||
"composition_table": {
|
||||
"source": "COMPOSITION_IP_SOURCE",
|
||||
"dest": "COMPOSITION_IP_DEST",
|
||||
"session": "COMPOSITION_IP_SESSION"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user