aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-10-26 21:40:59 +0100
committerLuca Deri <deri@ntop.org>2020-10-26 21:40:59 +0100
commit948a9060378a2a33f5701947386492ff10cb2de6 (patch)
tree82ad122f24bc6ee7a9f5abea09abf790099091fe /src/lib/ndpi_main.c
parent9873972acb2be4682434543b051833feff071f6e (diff)
Added -D flag for detecting DoH in the wild
Removed heuristic from CiscoVPN as it leads to false positives
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r--src/lib/ndpi_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 9de47e471..65f1db852 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -603,10 +603,11 @@ int ndpi_set_detection_preferences(struct ndpi_detection_module_struct *ndpi_str
case ndpi_pref_enable_tls_block_dissection:
/*
- If this option is enabled only the TLS Application data blocks past the
- certificate negotiation are considered
+ If this option is enabled only the TLS Application data blocks past the
+ certificate negotiation are considered
*/
ndpi_str->num_tls_blocks_to_follow = NDPI_MAX_NUM_TLS_APPL_BLOCKS;
+ ndpi_str->skip_tls_blocks_until_change_cipher = 1;
break;
default: