aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/rtsp.c
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2022-05-19 16:45:57 +0200
committerlns <matzeton@googlemail.com>2022-05-19 16:45:57 +0200
commit71c2a6efe78f5569c3dbb9e955ef603d8801b561 (patch)
tree5d25d81d6f39a50da60b2e3b66f111adb8b85155 /src/lib/protocols/rtsp.c
parent054d151373895881bc81d7e7efa9102d91d9076d (diff)
Moved RTSP http patterns to the protocol source file.improved/rtsp
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/protocols/rtsp.c')
-rw-r--r--src/lib/protocols/rtsp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/protocols/rtsp.c b/src/lib/protocols/rtsp.c
index 9592d1db5..0e08157ff 100644
--- a/src/lib/protocols/rtsp.c
+++ b/src/lib/protocols/rtsp.c
@@ -50,7 +50,9 @@ void ndpi_search_rtsp_tcp_udp(struct ndpi_detection_module_struct
}
if (packet->parsed_lines > 0 &&
- LINE_ENDS(packet->line[0], "RTSP/1.0") != 0)
+ (LINE_ENDS(packet->line[0], "RTSP/1.0") != 0 ||
+ LINE_ENDS(packet->accept_line, "application/x-rtsp-tunnelled") != 0 ||
+ LINE_ENDS(packet->content_line, "application/x-rtsp-tunnelled") != 0))
{
ndpi_int_rtsp_add_connection(ndpi_struct, flow);
return;