Implemented ALPN automa for checking uncommon ALPNs

This commit is contained in:
Luca Deri
2021-07-24 17:50:32 +02:00
parent 526568fcd5
commit 51e4888442
6 changed files with 108 additions and 64 deletions
+2 -2
View File
@@ -1472,8 +1472,8 @@ static struct ndpi_proto packet_processing(struct ndpi_workflow * workflow,
/* Copy packets entropy if num packets count == 10 */
ndpi_clear_entropy_stats(flow);
if(!flow->has_human_readeable_strings) {
if((human_readeable_string_len != 0) && (!flow->has_human_readeable_strings)) {
u_int8_t skip = 0;
if((proto == IPPROTO_TCP)