Add a configuration knob to enable/disable loading of gambling list (#2047)

This commit is contained in:
Ivan Nardi
2023-07-14 23:19:30 +02:00
committed by GitHub
parent 8e960f033d
commit 5811a5613b
2 changed files with 9 additions and 3 deletions
+2 -1
View File
@@ -1196,7 +1196,7 @@ struct ndpi_detection_module_struct {
u_int64_t current_ts;
u_int16_t max_packets_to_process;
u_int16_t num_tls_blocks_to_follow;
u_int8_t skip_tls_blocks_until_change_cipher:1, enable_ja3_plus:1, _notused:6;
u_int8_t skip_tls_blocks_until_change_cipher:1, enable_ja3_plus:1, enable_load_gambling_list:1, _notused:5;
u_int8_t tls_certificate_expire_in_x_days;
void *user_data;
@@ -1744,6 +1744,7 @@ typedef enum {
ndpi_enable_tcp_ack_payload_heuristic = (1 << 17),
ndpi_dont_load_crawlers_list = (1 << 18),
ndpi_dont_load_protonvpn_list = (1 << 19),
ndpi_dont_load_gambling_list = (1 << 20),
} ndpi_prefs;
typedef struct {