From 8350cc68d40aaebb2a393abff1b9853b29752e40 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Mon, 26 May 2025 15:08:53 +0200 Subject: BFCP: fix check on payload length and extract metadata (#2854) We should be able to identified this protocol on the first packet, without keeping any state Close #2745 --- example/reader_util.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'example/reader_util.h') diff --git a/example/reader_util.h b/example/reader_util.h index 4b2b2284c..7ff527916 100644 --- a/example/reader_util.h +++ b/example/reader_util.h @@ -172,6 +172,7 @@ enum info_type { INFO_NATPMP, INFO_SIP, INFO_FASTCGI, + INFO_BFCP, }; typedef struct { @@ -277,6 +278,11 @@ typedef struct ndpi_flow_info { char user_agent[32]; char url[64]; } fast_cgi; + + struct { + u_int32_t conference_id; + u_int16_t user_id; + } bfcp; }; ndpi_serializer ndpi_flow_serializer; -- cgit v1.2.3