Add Google Chat support (#2244)

This commit is contained in:
Vladimir Gavrilov
2024-01-07 18:04:59 +01:00
committed by GitHub
parent 40797521af
commit ce08291ccd
8 changed files with 55 additions and 10 deletions
+1
View File
@@ -410,6 +410,7 @@ typedef enum {
NDPI_PROTOCOL_IEC62056 = 379,
NDPI_PROTOCOL_HL7 = 380,
NDPI_PROTOCOL_CEPH = 381,
NDPI_PROTOCOL_GOOGLE_CHAT = 382,
#ifdef CUSTOM_NDPI_PROTOCOLS
#include "../../../nDPI-custom/custom_ndpi_protocol_ids.h"
+2
View File
@@ -610,6 +610,8 @@ static ndpi_protocol_match host_match[] =
/* Google Meet */
{ "meet.google.com", "GoogleMeet", NDPI_PROTOCOL_GOOGLE_MEET, NDPI_PROTOCOL_CATEGORY_CHAT, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DEFAULT_LEVEL },
/* Google Chat */
{ "chat.google.com", "GoogleChat", NDPI_PROTOCOL_GOOGLE_CHAT, NDPI_PROTOCOL_CATEGORY_CHAT, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DEFAULT_LEVEL },
/* Google Services */
{ "googleapis.com", "GoogleServices", NDPI_PROTOCOL_GOOGLE_SERVICES, NDPI_PROTOCOL_CATEGORY_WEB, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DEFAULT_LEVEL },