mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
whatsapps checks of nDPI make kernel crash, disable it for now
This commit is contained in:
parent
703e376d60
commit
469830a076
1 changed files with 20 additions and 0 deletions
20
ndpi-netfilter2/patches/whatsapps.patch
Normal file
20
ndpi-netfilter2/patches/whatsapps.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- a/src/lib/protocols/whatsapp.c.anc 2018-10-22 09:32:53.953147328 +0200
|
||||
+++ b/src/lib/protocols/whatsapp.c 2018-10-22 09:33:07.560968148 +0200
|
||||
@@ -32,7 +32,7 @@
|
||||
};
|
||||
|
||||
NDPI_LOG_DBG(ndpi_struct, "search WhatsApp\n");
|
||||
-
|
||||
+/*
|
||||
if(flow->l4.tcp.wa_matched_so_far == 0) {
|
||||
if(memcmp(packet->payload, whatsapp_sequence, packet->payload_packet_len)) {
|
||||
NDPI_EXCLUDE_PROTO(ndpi_struct, flow);
|
||||
@@ -55,7 +55,7 @@
|
||||
NDPI_LOG_INFO(ndpi_struct, "found WhatsApp\n");
|
||||
ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_WHATSAPP, NDPI_PROTOCOL_UNKNOWN);
|
||||
}
|
||||
-
|
||||
+*/
|
||||
NDPI_EXCLUDE_PROTO(ndpi_struct, flow);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue