diff options
author | lns <matzeton@googlemail.com> | 2022-05-19 16:45:57 +0200 |
---|---|---|
committer | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-05-19 19:58:11 +0200 |
commit | 8b750686c93c14d839c1e988cbc298e9aade1c74 (patch) | |
tree | 8dc47931ff27248850ff91fd8b189d1ba74406ff /src/lib/protocols/rtsp.c | |
parent | dae7986a37459c2d2da65a72b0446f93756b191b (diff) |
Moved RTSP http patterns to the protocol source file.
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/protocols/rtsp.c')
-rw-r--r-- | src/lib/protocols/rtsp.c | 4 |
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; |