From 8c7071e040865b3b70b98ff8d8ad18c41f3fb74c Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Sat, 10 Dec 2022 18:32:25 +0100 Subject: DTLS: handle (certificate) fragments (#1811) Keep using the existing function to handle reassembling buffer: rename it from `ndpi_search_tls_tcp_memory` to `ndpi_search_tls_memory` and make it "transport" agnostic --- src/include/ndpi_typedefs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index ad33eb5e6..1e75e5ee4 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -709,8 +709,6 @@ struct ndpi_flow_tcp_struct { u_int32_t telnet_stage:2; // 0 - 2 struct { - message_t message[2]; /* Directions */ - /* NDPI_PROTOCOL_TLS */ u_int8_t app_data_seen[2]; u_int8_t num_tls_blocks; @@ -1384,6 +1382,7 @@ struct ndpi_flow_struct { } stun; struct { + message_t message[2]; /* Directions */ u_int8_t certificate_processed:1, _pad:7; } tls_quic; /* Used also by DTLS and POPS/IMAPS/SMTPS/FTPS */ -- cgit v1.2.3