策略验证支持wannat
This commit is contained in:
@@ -17,10 +17,17 @@ enum verify_policy_type
|
||||
{
|
||||
PXY_TABLE_SECURITY,
|
||||
PXY_TABLE_MANIPULATION,
|
||||
PXY_TABLE_WANNAT,
|
||||
PXY_TABLE_DEFENCE,
|
||||
__SCAN_POLICY_MAX
|
||||
};
|
||||
|
||||
enum common_scan_table
|
||||
{
|
||||
PXY_COMMON_SOURCE_ADDR,
|
||||
PXY_COMMON_DESTINATION_ADDR
|
||||
};
|
||||
|
||||
enum manipulate_sacn_table
|
||||
{
|
||||
PXY_CTRL_SOURCE_ADDR,
|
||||
@@ -76,6 +83,14 @@ enum security_scan_table
|
||||
__SECURITY_TABLE_MAX
|
||||
};
|
||||
|
||||
enum wannat_scan_table
|
||||
{
|
||||
PXY_WANNAT_SOURCE_ADDR,
|
||||
PXY_WANNAT_DESTINATION_ADDR,
|
||||
__WANNAT_TABLE_MAX
|
||||
};
|
||||
|
||||
|
||||
enum http_ev_bit_number
|
||||
{
|
||||
IP_BITNUM = 0,
|
||||
@@ -160,6 +175,8 @@ void http_get_scan_status(struct verify_policy_query_obj *query_obj, int type, c
|
||||
|
||||
int security_policy_init(struct verify_policy * verify, const char* profile_path);
|
||||
|
||||
int wannat_policy_init(struct verify_policy * verify, const char* profile_path);
|
||||
|
||||
int http_hit_policy_list(enum verify_policy_type policy_type, size_t hit_cnt, cJSON *data_obj, void *pme);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user