aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols
diff options
context:
space:
mode:
authorVladimir Gavrilov <105977161+0xA50C1A1@users.noreply.github.com>2024-01-02 16:01:33 +0300
committerGitHub <noreply@github.com>2024-01-02 14:01:33 +0100
commit0f4d9f505429d2644dc291deabfb6da77930e44d (patch)
tree2f7927ff7473da3378813f1654c468ac717886c2 /src/lib/protocols
parent3dbd89eee87dd3b730a1fff6015e0f2f70d01fa4 (diff)
Remove Google Hangouts/Duo stuff (#2233)
* Remove Google Hangouts/Duo support * Update protocols.rst
Diffstat (limited to 'src/lib/protocols')
-rw-r--r--src/lib/protocols/stun.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/protocols/stun.c b/src/lib/protocols/stun.c
index 74dfc829b..c9bb76166 100644
--- a/src/lib/protocols/stun.c
+++ b/src/lib/protocols/stun.c
@@ -274,7 +274,7 @@ int is_stun(struct ndpi_detection_module_struct *ndpi_struct,
NDPI_LOG_DBG(ndpi_struct, "Realm [%s]\n", flow->host_server_name);
if(strstr(flow->host_server_name, "google.com") != NULL) {
- *app_proto = NDPI_PROTOCOL_HANGOUT_DUO;
+ *app_proto = NDPI_PROTOCOL_GOOGLE_MEET;
return 1;
} else if(strstr(flow->host_server_name, "whispersystems.org") != NULL ||
strstr(flow->host_server_name, "signal.org") != NULL) {
@@ -307,7 +307,7 @@ int is_stun(struct ndpi_detection_module_struct *ndpi_struct,
return 1;
case 0xFF03:
- *app_proto = NDPI_PROTOCOL_HANGOUT_DUO;
+ *app_proto = NDPI_PROTOCOL_GOOGLE_MEET;
return 1;
case 0x0013:
@@ -582,7 +582,7 @@ static void ndpi_int_stun_add_connection(struct ndpi_detection_module_struct *nd
memcmp(&flow->c_address.v6, &pref2, sizeof(pref2)) == 0 ||
memcmp(&flow->s_address.v6, &pref1, sizeof(pref1)) == 0 ||
memcmp(&flow->s_address.v6, &pref2, sizeof(pref2)) == 0) {
- app_proto = NDPI_PROTOCOL_HANGOUT_DUO;
+ app_proto = NDPI_PROTOCOL_GOOGLE_MEET;
}
} else {
u_int32_t c_address, s_address;
@@ -593,7 +593,7 @@ static void ndpi_int_stun_add_connection(struct ndpi_detection_module_struct *nd
(c_address & 0xFFFFFF00) == 0x8efa5200 || /* 142.250.82.0/24 */
(s_address & 0xFFFFFF00) == 0x4a7dfa00 ||
(s_address & 0xFFFFFF00) == 0x8efa5200) {
- app_proto = NDPI_PROTOCOL_HANGOUT_DUO;
+ app_proto = NDPI_PROTOCOL_GOOGLE_MEET;
}
}
}