Improved risk detection mask algorithm

This commit is contained in:
Luca Deri
2021-07-26 09:38:53 +02:00
parent 29ec34f66d
commit 4cafa7cb1e
3 changed files with 19 additions and 25 deletions
+1 -1
View File
@@ -1302,7 +1302,7 @@ struct ndpi_flow_struct {
u_char host_server_name[240];
u_int8_t initial_binary_bytes[8], initial_binary_bytes_len;
u_int8_t risk_checked:1, ip_risk_mask_evaluated:1, host_risk_mask_evaluated:1, _notused:5;
ndpi_risk host_risk_mask; /* Stores the flow risk mask for flow peers */
ndpi_risk risk_mask; /* Stores the flow risk mask for flow peers */
ndpi_risk risk; /* Issues found with this flow [bitmask of ndpi_risk] */
/*