From 9873972acb2be4682434543b051833feff071f6e Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sat, 24 Oct 2020 19:22:56 +0200 Subject: 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 --- example/reader_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'example/reader_util.c') diff --git a/example/reader_util.c b/example/reader_util.c index c212597ac..9b31f0e3f 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1219,7 +1219,8 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl for(i=0; indpi_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 -- cgit v1.2.3