diff options
author | Luca Deri <deri@ntop.org> | 2020-10-24 19:22:56 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2020-10-24 19:22:56 +0200 |
commit | 9873972acb2be4682434543b051833feff071f6e (patch) | |
tree | 037fab0a6d33a7a85153f341c6b6683cda74d968 /example | |
parent | 9b85669a648930f6f54346661c599ca79df937f5 (diff) |
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
Diffstat (limited to 'example')
-rw-r--r-- | example/reader_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; 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 |