From 983e6ebe502feb44f98bd17bbfd7a095437f5693 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Thu, 24 Oct 2019 22:18:15 +0200 Subject: [PATCH] Changes due to new nDPI behaviour with ndpi_extra_dissection_possible() --- src/NetworkInterface.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/NetworkInterface.cpp b/src/NetworkInterface.cpp index c7e038d550..819440a9ef 100644 --- a/src/NetworkInterface.cpp +++ b/src/NetworkInterface.cpp @@ -155,11 +155,6 @@ NetworkInterface::NetworkInterface(const char *name, if(ntop->getCustomnDPIProtos() != NULL) ndpi_load_protocols_file(ndpi_struct, ntop->getCustomnDPIProtos()); - /* The DNS reply must be dissected to properly generate requests vs replies ratio - * and update the DnsStats. */ - ndpi_set_detection_preferences(ndpi_struct, ndpi_pref_dns_dont_dissect_response, 0); - ndpi_set_detection_preferences(ndpi_struct, ndpi_pref_http_dont_dissect_response, 1); - memset(d_port, 0, sizeof(d_port)); ndpi_set_proto_defaults(ndpi_struct, NDPI_PROTOCOL_UNRATED, NTOPNG_NDPI_OS_PROTO_ID, 0, no_master, no_master, (char*)"Operating System",