aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-07-06 00:02:46 +0200
committerIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2022-07-06 14:37:26 +0200
commita1c3d05a74af8a278909d486e331a00c178a38a1 (patch)
treee19ba9661c97fe767c888c744a33d5be73e96591 /src
parent814f9cd21e6220dc3ef298b3432e908697f6b220 (diff)
Added another RiotGames signature.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/protocols/riotgames.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/protocols/riotgames.c b/src/lib/protocols/riotgames.c
index 31c9889f5..40dddd7b6 100644
--- a/src/lib/protocols/riotgames.c
+++ b/src/lib/protocols/riotgames.c
@@ -57,6 +57,14 @@ void ndpi_search_riotgames(struct ndpi_detection_module_struct *ndpi_struct,
return;
}
+ if (packet->payload_packet_len == 53 &&
+ ntohl(get_u_int32_t(packet->payload, packet->payload_packet_len - 4)) == 0xea23460c &&
+ ntohl(get_u_int32_t(packet->payload, packet->payload_packet_len - 8)) == 0x3cb11f2d)
+ {
+ ndpi_int_riotgames_add_connection(ndpi_struct, flow);
+ return;
+ }
+
/*
* Please add new patterns for games made by RiotGames here
*/