diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-07-14 23:19:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-14 23:19:30 +0200 |
commit | 5811a5613b85fe7d0c5b2d23f525b59ee98ec3fc (patch) | |
tree | dbcbcfa8af5dea715e7a99a3e32f89180e781d0b /src/include/ndpi_typedefs.h | |
parent | 8e960f033d2ea5abbd53d2a178a45132a0072062 (diff) |
Add a configuration knob to enable/disable loading of gambling list (#2047)
Diffstat (limited to 'src/include/ndpi_typedefs.h')
-rw-r--r-- | src/include/ndpi_typedefs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 91ae93b4e..0b2a879bb 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -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 { |