From 678dd61866944eae011fa96f1c6d39d0c201858e Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Fri, 9 Sep 2022 20:17:17 +0200 Subject: STUN: several improvements Add detection over TCP and fix detection over IPv6. Rename some variables since Stun dissector is no more "udp-centric". Stun dissector should always classified the flow as `STUN` or `STUN/Something`. Don't touch `flow->guessed_host_protocol_id` field, which should be always be related to "ip-classification" only. --- 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 b86e66aeb..a71a01332 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -1349,7 +1349,7 @@ struct ndpi_flow_struct { } kerberos_buf; struct { - u_int8_t num_udp_pkts, num_binding_requests; + u_int8_t num_pkts, num_binding_requests; u_int16_t num_processed_pkts; } stun; -- cgit v1.2.3