From b116456fc5c10b3fe196da4b071faec4abbfec31 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Sat, 11 May 2024 09:21:13 +0200 Subject: Viber: add detection of voip calls and avoid false positives (#2434) --- src/lib/protocols/stun.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/protocols/stun.c') diff --git a/src/lib/protocols/stun.c b/src/lib/protocols/stun.c index d12a51843..d6e7090d3 100644 --- a/src/lib/protocols/stun.c +++ b/src/lib/protocols/stun.c @@ -511,6 +511,8 @@ int is_stun(struct ndpi_detection_module_struct *ndpi_struct, *app_proto = NDPI_PROTOCOL_ADULT_CONTENT; } else if(strstr(flow->host_server_name, "telegram") != NULL) { *app_proto = NDPI_PROTOCOL_TELEGRAM_VOIP; + } else if(strstr(flow->host_server_name, "viber") != NULL) { + *app_proto = NDPI_PROTOCOL_VIBER_VOIP; } } else flow->host_server_name[0] = '\0'; -- cgit v1.2.3