diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2025-05-26 15:08:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-26 15:08:53 +0200 |
commit | 8350cc68d40aaebb2a393abff1b9853b29752e40 (patch) | |
tree | bca3a4a8327cfbf05fd0a576ec0c46f050ffcfd3 /example/reader_util.h | |
parent | 0ccafc94f7d3a75289a9ff80447070b08df645c3 (diff) |
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
Diffstat (limited to 'example/reader_util.h')
-rw-r--r-- | example/reader_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; |