Introduced workitems to Scanner IMV
This commit is contained in:
@@ -689,7 +689,7 @@ INSERT INTO policies ( /* 8 */
|
||||
INSERT INTO policies ( /* 9 */
|
||||
type, name, rec_fail, rec_noresult
|
||||
) VALUES (
|
||||
12, 'No Open UDP Ports', 1, 1
|
||||
13, 'No Open UDP Ports', 1, 1
|
||||
);
|
||||
|
||||
INSERT INTO policies ( /* 10 */
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
typedef struct private_imv_workitem_t private_imv_workitem_t;
|
||||
|
||||
ENUM(imv_workitem_type_names, IMV_WORKITEM_PACKAGES, IMV_WORKITEM_UDP_SCAN,
|
||||
ENUM(imv_workitem_type_names, IMV_WORKITEM_PACKAGES, IMV_WORKITEM_UDP_PORT_BLOCK,
|
||||
"PCKGS",
|
||||
"UNSRC",
|
||||
"FWDEN",
|
||||
@@ -31,8 +31,10 @@ ENUM(imv_workitem_type_names, IMV_WORKITEM_PACKAGES, IMV_WORKITEM_UDP_SCAN,
|
||||
"DREFM",
|
||||
"DMEAS",
|
||||
"DMETA",
|
||||
"TCPSC",
|
||||
"UDPSC"
|
||||
"TCPOP",
|
||||
"TCPBL",
|
||||
"UDPOP",
|
||||
"UDPBL"
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@@ -30,18 +30,20 @@ typedef struct imv_workitem_t imv_workitem_t;
|
||||
typedef enum imv_workitem_type_t imv_workitem_type_t;
|
||||
|
||||
enum imv_workitem_type_t {
|
||||
IMV_WORKITEM_PACKAGES = 1,
|
||||
IMV_WORKITEM_UNKNOWN_SOURCE = 2,
|
||||
IMV_WORKITEM_FORWARDING = 3,
|
||||
IMV_WORKITEM_DEFAULT_PWD = 4,
|
||||
IMV_WORKITEM_FILE_REF_MEAS = 5,
|
||||
IMV_WORKITEM_FILE_MEAS = 6,
|
||||
IMV_WORKITEM_FILE_META = 7,
|
||||
IMV_WORKITEM_DIR_REF_MEAS = 8,
|
||||
IMV_WORKITEM_DIR_MEAS = 9,
|
||||
IMV_WORKITEM_DIR_META = 10,
|
||||
IMV_WORKITEM_TCP_SCAN = 11,
|
||||
IMV_WORKITEM_UDP_SCAN = 12
|
||||
IMV_WORKITEM_PACKAGES = 1,
|
||||
IMV_WORKITEM_UNKNOWN_SOURCE = 2,
|
||||
IMV_WORKITEM_FORWARDING = 3,
|
||||
IMV_WORKITEM_DEFAULT_PWD = 4,
|
||||
IMV_WORKITEM_FILE_REF_MEAS = 5,
|
||||
IMV_WORKITEM_FILE_MEAS = 6,
|
||||
IMV_WORKITEM_FILE_META = 7,
|
||||
IMV_WORKITEM_DIR_REF_MEAS = 8,
|
||||
IMV_WORKITEM_DIR_MEAS = 9,
|
||||
IMV_WORKITEM_DIR_META = 10,
|
||||
IMV_WORKITEM_TCP_PORT_OPEN = 11,
|
||||
IMV_WORKITEM_TCP_PORT_BLOCK = 12,
|
||||
IMV_WORKITEM_UDP_PORT_OPEN = 13,
|
||||
IMV_WORKITEM_UDP_PORT_BLOCK = 14
|
||||
};
|
||||
|
||||
extern enum_name_t *imv_workitem_type_names;
|
||||
|
||||
Reference in New Issue
Block a user