From 42d24f8799836025e4526ebb30f34750d528b980 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Mon, 30 Oct 2023 10:28:19 +0100 Subject: STUN: major code rework (#2116) Try to have a faster classification, on first packet; use standard extra dissection data path for sub-classification, metadata extraction and monitoring. STUN caches: * use the proper confidence value * lookup into the caches only once per flow, after having found a proper STUN classification Add identification of Telegram VoIP calls. --- src/lib/ndpi_utils.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/lib/ndpi_utils.c') diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index 7fbecd9f9..645dfc12a 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1373,16 +1373,6 @@ int ndpi_dpi2json(struct ndpi_detection_module_struct *ndpi_struct, ndpi_serialize_end_of_block(serializer); break; - case NDPI_PROTOCOL_STUN: - ndpi_serialize_start_of_block(serializer, "stun"); - ndpi_serialize_string_uint32(serializer, "num_pkts", flow->stun.num_pkts); - ndpi_serialize_string_uint32(serializer, "num_binding_requests", - flow->stun.num_binding_requests); - ndpi_serialize_string_uint32(serializer, "num_processed_pkts", - flow->stun.num_processed_pkts); - ndpi_serialize_end_of_block(serializer); - break; - case NDPI_PROTOCOL_TELNET: ndpi_serialize_start_of_block(serializer, "telnet"); ndpi_serialize_string_string(serializer, "username", flow->protos.telnet.username); -- cgit v1.2.3