diff options
-rw-r--r-- | python/ndpi.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/ndpi.py b/python/ndpi.py index d2b5ab4a1..227db5bb5 100644 --- a/python/ndpi.py +++ b/python/ndpi.py @@ -266,7 +266,7 @@ struct tinc_cache_entry { cc_ndpi_stuctures = """ -#define NDPI_MAX_NUM_DISSECTED_TLS_BLOCKS 32 +#define NDPI_MAX_NUM_TLS_APPL_BLOCKS 8 typedef enum { NDPI_LOG_ERROR, @@ -583,7 +583,7 @@ struct ndpi_flow_tcp_struct { /* NDPI_PROTOCOL_TLS */ uint8_t hello_processed:1, certificate_processed:1, subprotocol_detected:1, fingerprint_set:1, _pad:4; uint8_t sha1_certificate_fingerprint[20], num_tls_blocks; - uint16_t tls_blocks_len[NDPI_MAX_NUM_DISSECTED_TLS_BLOCKS]; + int16_t tls_application_blocks_len[NDPI_MAX_NUM_TLS_APPL_BLOCKS]; } tls; /* NDPI_PROTOCOL_POSTGRES */ @@ -852,6 +852,7 @@ typedef enum { typedef enum { ndpi_pref_direction_detect_disable = 0, + ndpi_pref_enable_tls_block_dissection } ndpi_detection_preference; /* ntop extensions */ |