diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-05-11 09:21:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-11 09:21:13 +0200 |
commit | b116456fc5c10b3fe196da4b071faec4abbfec31 (patch) | |
tree | a49c77aaa586782b62b20ac1fbebcd968169e549 /src/lib/protocols/stun.c | |
parent | a813121e0a7021cdbfd64630960b330a23b1a4d2 (diff) |
Viber: add detection of voip calls and avoid false positives (#2434)
Diffstat (limited to 'src/lib/protocols/stun.c')
-rw-r--r-- | src/lib/protocols/stun.c | 2 |
1 files changed, 2 insertions, 0 deletions
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'; |