Improved CryNetwork protocol dissector.

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2023-10-23 13:44:34 +02:00
committed by Ivan Nardi
parent 7122599287
commit 25c54dd6d7
3 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ static void ndpi_search_crynet(struct ndpi_detection_module_struct *ndpi_struct,
return;
}
if (ntohs(get_u_int16_t(packet->payload, 3)) != 0x08ed ||
if (packet->payload[0] != 0x3c ||
packet->payload[16] != 0x01 ||
packet->payload[20] != 0x07 ||
ntohs(get_u_int16_t(packet->payload, 24)) != 0x0307)