aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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
*/