diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-01-17 11:38:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 11:38:39 +0100 |
commit | 470eaa6ff388435d7233ff2680e3ea013068d1fe (patch) | |
tree | 1351de4b75ed046ae3a136a1870fdf2a6fd983d0 /src/lib/protocols/discord.c | |
parent | 29be01ef3a111fe467eb59876864574c168560df (diff) |
Add Meraki Cloud protocol and improve other protocols (#1854)
Avoid some LineCall and Jabber false positives.
Detect Discord mid flows.
Fix Bittorrent detection.
Diffstat (limited to 'src/lib/protocols/discord.c')
-rw-r--r-- | src/lib/protocols/discord.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/protocols/discord.c b/src/lib/protocols/discord.c index 36ba8274e..eede88b86 100644 --- a/src/lib/protocols/discord.c +++ b/src/lib/protocols/discord.c @@ -70,7 +70,8 @@ void ndpi_search_discord(struct ndpi_detection_module_struct *ndpi_struct, } } - NDPI_EXCLUDE_PROTO(ndpi_struct, flow); + if (flow->packet_counter >= 5) + NDPI_EXCLUDE_PROTO(ndpi_struct, flow); } void init_discord_dissector(struct ndpi_detection_module_struct *ndpi_struct, |