From 266af0275241b96346372bbae936cd3dd1a35159 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Mon, 6 May 2024 10:19:46 +0200 Subject: Merge RTP and RTCP logic (#2416) Avoid code duplication between these two protocols. We remove support for RTCP over TCP; it is quite rare to find this kind of traffic and, more important, we have never had support for RTP over TCP: we should try to add both detecion as follow-up. Fix a message log in the LINE code --- src/lib/protocols/stun.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/lib/protocols/stun.c') diff --git a/src/lib/protocols/stun.c b/src/lib/protocols/stun.c index 40f00dca0..0cc0d1d80 100644 --- a/src/lib/protocols/stun.c +++ b/src/lib/protocols/stun.c @@ -311,9 +311,6 @@ static void parse_xor_ip_port_attribute(struct ndpi_detection_module_struct *ndp } } } -#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -static -#endif int is_stun(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow, u_int16_t *app_proto) -- cgit v1.2.3