aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVladimir Gavrilov <105977161+0xA50C1A1@users.noreply.github.com>2025-04-28 20:54:00 +0300
committerGitHub <noreply@github.com>2025-04-28 19:54:00 +0200
commitb3be9f16dc0473fdb180bce3ff026015d59a4475 (patch)
treecce7b4ef4b14acbb5ef6214648ccdffdff934941 /src
parent805ef2d429dba535a2455882f0c48ebba6449d3c (diff)
Add Rockstar Games detection (#2805)
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_protocol_ids.h1
-rw-r--r--src/lib/ndpi_content_match.c.inc7
2 files changed, 7 insertions, 1 deletions
diff --git a/src/include/ndpi_protocol_ids.h b/src/include/ndpi_protocol_ids.h
index 6af533514..7d370f36c 100644
--- a/src/include/ndpi_protocol_ids.h
+++ b/src/include/ndpi_protocol_ids.h
@@ -477,6 +477,7 @@ typedef enum {
NDPI_PROTOCOL_LLM = 446, /* Large Language Models */
NDPI_PROTOCOL_UBIQUITY = 447,
NDPI_PROTOCOL_MSDO = 448,
+ NDPI_PROTOCOL_ROCKSTAR_GAMES = 449,
#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 54b44e131..fab348c06 100644
--- a/src/lib/ndpi_content_match.c.inc
+++ b/src/lib/ndpi_content_match.c.inc
@@ -1743,7 +1743,11 @@ static ndpi_protocol_match host_match[] =
{ "perplexity.ai", "LLM", NDPI_PROTOCOL_LLM, NDPI_PROTOCOL_CATEGORY_ARTIFICIAL_INTELLIGENCE, NDPI_PROTOCOL_SAFE, NDPI_PROTOCOL_DEFAULT_LEVEL },
{ "ollama.com", "LLM", NDPI_PROTOCOL_LLM, NDPI_PROTOCOL_CATEGORY_ARTIFICIAL_INTELLIGENCE, NDPI_PROTOCOL_SAFE, NDPI_PROTOCOL_DEFAULT_LEVEL },
{ "huggingface.com", "LLM", NDPI_PROTOCOL_LLM, NDPI_PROTOCOL_CATEGORY_ARTIFICIAL_INTELLIGENCE, NDPI_PROTOCOL_SAFE, NDPI_PROTOCOL_DEFAULT_LEVEL },
-
+
+ { "rsg.sc", "RockstarGames", NDPI_PROTOCOL_ROCKSTAR_GAMES, NDPI_PROTOCOL_CATEGORY_GAME, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_DEFAULT_LEVEL },
+ { "rockstargames.com", "RockstarGames", NDPI_PROTOCOL_ROCKSTAR_GAMES, NDPI_PROTOCOL_CATEGORY_GAME, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_DEFAULT_LEVEL },
+ { "gamedownloads-rockstargames-com.akamaized.net", "RockstarGames", NDPI_PROTOCOL_ROCKSTAR_GAMES, NDPI_PROTOCOL_CATEGORY_GAME, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_DEFAULT_LEVEL },
+
#ifdef CUSTOM_NDPI_PROTOCOLS
#include "../../../nDPI-custom/custom_ndpi_content_match_host_match.c.inc"
#endif
@@ -1776,6 +1780,7 @@ static ndpi_tls_cert_name_match tls_certificate_match [] = {
{ "O=Sonos, Inc", NDPI_PROTOCOL_SONOS },
{ "CN=Snapchat Inc.", NDPI_PROTOCOL_SNAPCHAT_CALL },
{ "CN=NVIDIA GameStream", NDPI_PROTOCOL_GEFORCENOW },
+ { "CN=*.relay.ros.rockstargames.com", NDPI_PROTOCOL_ROCKSTAR_GAMES },
{ NULL, 0 }
};