diff options
author | Vladimir Gavrilov <105977161+0xA50C1A1@users.noreply.github.com> | 2024-01-07 20:04:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-07 18:04:59 +0100 |
commit | ce08291ccdd2cdcb65f83f97a0fff464310094c1 (patch) | |
tree | 6ffaeb24cf942f39bde047a95da5cb43205b0c39 /src | |
parent | 40797521af054032908ca43de0878eda6255db77 (diff) |
Add Google Chat support (#2244)
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_protocol_ids.h | 1 | ||||
-rw-r--r-- | src/lib/ndpi_content_match.c.inc | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ndpi_protocol_ids.h b/src/include/ndpi_protocol_ids.h index 03edf269f..f849080bc 100644 --- a/src/include/ndpi_protocol_ids.h +++ b/src/include/ndpi_protocol_ids.h @@ -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" diff --git a/src/lib/ndpi_content_match.c.inc b/src/lib/ndpi_content_match.c.inc index 5b0984dd0..a825d1b6d 100644 --- a/src/lib/ndpi_content_match.c.inc +++ b/src/lib/ndpi_content_match.c.inc @@ -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 }, |