Viber: add detection of voip calls and avoid false positives (#2434)

This commit is contained in:
Ivan Nardi
2024-05-11 09:21:13 +02:00
committed by GitHub
parent a813121e0a
commit b116456fc5
11 changed files with 62 additions and 42 deletions
+2
View File
@@ -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';