Add more TencentGames signatures (#2354)

This commit is contained in:
Vladimir Gavrilov
2024-03-21 14:38:47 +01:00
committed by GitHub
parent 27f9ca9d04
commit be0fd7444f
3 changed files with 17 additions and 9 deletions
+7
View File
@@ -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);