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/ndpiReader.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'example/ndpiReader.c') diff --git a/example/ndpiReader.c b/example/ndpiReader.c index d26505062..a9b89c6ba 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -2088,6 +2088,11 @@ static void printFlow(u_int32_t id, struct ndpi_flow_info *flow, u_int16_t threa fprintf(out, "[User-agent: %s]", flow->fast_cgi.user_agent); } break; + + case INFO_BFCP: + fprintf(out, "[Conference Id: %d]", flow->bfcp.conference_id); + fprintf(out, "[User Id: %d]", flow->bfcp.user_id); + break; } if(flow->ssh_tls.advertised_alpns) -- cgit v1.2.3