From be0fd7444ff714f3c654aca08b3bf151ac801bbf Mon Sep 17 00:00:00 2001 From: Vladimir Gavrilov <105977161+0xA50C1A1@users.noreply.github.com> Date: Thu, 21 Mar 2024 16:38:47 +0300 Subject: Add more TencentGames signatures (#2354) --- src/lib/protocols/tencent_games.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/lib/protocols/tencent_games.c b/src/lib/protocols/tencent_games.c index e10106d57..12bde1b37 100644 --- a/src/lib/protocols/tencent_games.c +++ b/src/lib/protocols/tencent_games.c @@ -73,6 +73,13 @@ static void ndpi_search_tencent_games(struct ndpi_detection_module_struct *ndpi_ ndpi_int_tencent_games_add_connection(ndpi_struct, flow); return; } + + if (ntohl(get_u_int32_t(packet->payload, 0)) == 0x4215F787 && + get_u_int16_t(packet->payload, 6) == 0) + { + ndpi_int_tencent_games_add_connection(ndpi_struct, flow); + return; + } } NDPI_EXCLUDE_PROTO(ndpi_struct, flow); -- cgit v1.2.3