From 8f91b8ba72e61eb15a3fdfcddd6339b2fae341be Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Thu, 29 Dec 2022 19:38:25 +0100 Subject: Implemented EDNS(0) support in DNS dissector Improved DNS dissection --- src/include/ndpi_typedefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index d9de63d5e..16612ce87 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -1381,7 +1381,7 @@ struct ndpi_flow_struct { /* the only fields useful for nDPI and ntopng */ struct { u_int8_t num_queries, num_answers, reply_code, is_query; - u_int16_t query_type, query_class, rsp_type; + u_int16_t query_type, query_class, rsp_type, edns0_udp_payload_size; ndpi_ip_addr_t rsp_addr; /* The first address in a DNS response packet (A and AAAA) */ char ptr_domain_name[64 /* large enough but smaller than { } tls */]; } dns; -- cgit v1.2.3