From 470eaa6ff388435d7233ff2680e3ea013068d1fe Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Tue, 17 Jan 2023 11:38:39 +0100 Subject: Add Meraki Cloud protocol and improve other protocols (#1854) Avoid some LineCall and Jabber false positives. Detect Discord mid flows. Fix Bittorrent detection. --- src/lib/protocols/discord.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/protocols/discord.c') 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, -- cgit v1.2.3