Various improvemement when using ndpi_pref_enable_tls_block_dissection:

application data TLS blocks are now ignored when exchanged before
- the end of certificate negotiation (up to TLS 1.2)
- change cipher
This commit is contained in:
Luca Deri
2020-10-24 19:22:56 +02:00
parent 9b85669a64
commit 9873972acb
4 changed files with 50 additions and 24 deletions
+2 -1
View File
@@ -1219,7 +1219,8 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
for(i=0; i<flow->ndpi_flow->l4.tcp.tls.num_tls_blocks; i++) {
u_int16_t len = abs(flow->ndpi_flow->l4.tcp.tls.tls_application_blocks_len[i]);
printf("%u\n", len);
/* printf("[TLS_LEN] %u\n", len); */
ndpi_inc_bin(&flow->payload_len_bin, plen2slot(len), 1);
}
#endif