Added -D flag for detecting DoH in the wild
Removed heuristic from CiscoVPN as it leads to false positives
This commit is contained in:
@@ -712,12 +712,14 @@ static int ndpi_search_tls_tcp(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
p = packet->payload, p_len = packet->payload_packet_len; /* Backup */
|
||||
|
||||
if(content_type == 0x14 /* Change Cipher Spec */) {
|
||||
/*
|
||||
Ignore Application Data up until change cipher
|
||||
so in this case we reset the number of observed
|
||||
TLS blocks
|
||||
*/
|
||||
flow->l4.tcp.tls.num_tls_blocks = 0;
|
||||
if(ndpi_struct->skip_tls_blocks_until_change_cipher) {
|
||||
/*
|
||||
Ignore Application Data up until change cipher
|
||||
so in this case we reset the number of observed
|
||||
TLS blocks
|
||||
*/
|
||||
flow->l4.tcp.tls.num_tls_blocks = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if((len > 9)
|
||||
|
||||
Reference in New Issue
Block a user