config: move cfg of aggressiviness and opportunistic TLS to the new API
This commit is contained in:
@@ -1074,16 +1074,6 @@ extern "C" {
|
||||
lru_cache_type cache_type,
|
||||
struct ndpi_lru_cache_stats *stats);
|
||||
|
||||
int ndpi_set_opportunistic_tls(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
u_int16_t proto, int value);
|
||||
int ndpi_get_opportunistic_tls(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
u_int16_t proto);
|
||||
|
||||
int ndpi_set_protocol_aggressiveness(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
u_int16_t proto, u_int32_t value);
|
||||
u_int32_t ndpi_get_protocol_aggressiveness(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
u_int16_t proto);
|
||||
|
||||
/**
|
||||
* Find a protocol id associated with a string automata
|
||||
*
|
||||
|
||||
@@ -174,6 +174,18 @@ struct ndpi_detection_module_config_struct {
|
||||
|
||||
int tls_sha1_fingerprint_enabled;
|
||||
|
||||
int smtp_opportunistic_tls_enabled;
|
||||
|
||||
int imap_opportunistic_tls_enabled;
|
||||
|
||||
int pop_opportunistic_tls_enabled;
|
||||
|
||||
int ftp_opportunistic_tls_enabled;
|
||||
|
||||
int stun_opportunistic_tls_enabled;
|
||||
|
||||
int ookla_aggressiveness;
|
||||
|
||||
NDPI_PROTOCOL_BITMASK ip_list_bitmask;
|
||||
|
||||
int flow_risk_lists_enabled;
|
||||
@@ -294,14 +306,6 @@ struct ndpi_detection_module_struct {
|
||||
|
||||
/* *** If you add a new LRU cache, please update lru_cache_type above! *** */
|
||||
|
||||
int opportunistic_tls_smtp_enabled;
|
||||
int opportunistic_tls_imap_enabled;
|
||||
int opportunistic_tls_pop_enabled;
|
||||
int opportunistic_tls_ftp_enabled;
|
||||
int opportunistic_tls_stun_enabled;
|
||||
|
||||
u_int32_t aggressiveness_ookla;
|
||||
|
||||
int tcp_ack_paylod_heuristic;
|
||||
int fully_encrypted_based_on_first_pkt_heuristic;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user