diff options
author | Nardi Ivan <nardi.ivan@gmail.com> | 2024-03-19 19:58:58 +0100 |
---|---|---|
committer | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-03-20 09:39:15 +0100 |
commit | 15a80527c6392a35d5f074fbc39a1a90ee2353b6 (patch) | |
tree | 8caf6fe4f6fe418e125e3251b3c18ec5ea8de44e /src | |
parent | 5ccf41739ba67b87a1abf01217407429f944510f (diff) |
STUN: remove workaround to identify RTP traffic
We are able to demultiplex RTP packets in STUN flows since 3608ab01b, at
least; no need to explicity call the RTP dissector
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/protocols/stun.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/protocols/stun.c b/src/lib/protocols/stun.c index eea2fc8ac..305feabf1 100644 --- a/src/lib/protocols/stun.c +++ b/src/lib/protocols/stun.c @@ -781,13 +781,6 @@ static void ndpi_search_stun(struct ndpi_detection_module_struct *ndpi_struct, s /* TODO: can we stop earlier? */ if(flow->packet_counter > 10) NDPI_EXCLUDE_PROTO(ndpi_struct, flow); - - if(flow->packet_counter > 0) { - /* This might be a RTP stream: let's make sure we check it */ - /* At this point the flow has not been fully classified as STUN yet */ - NDPI_LOG_DBG(ndpi_struct, "re-enable RTP\n"); - NDPI_CLR(&flow->excluded_protocol_bitmask, NDPI_PROTOCOL_RTP); - } } void init_stun_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id) { |