From 71c2a6efe78f5569c3dbb9e955ef603d8801b561 Mon Sep 17 00:00:00 2001 From: lns Date: Thu, 19 May 2022 16:45:57 +0200 Subject: Moved RTSP http patterns to the protocol source file. Signed-off-by: lns --- src/lib/protocols/rtsp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/protocols/rtsp.c') 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; -- cgit v1.2.3