From a62be9b8ecd4d3bd885654ee27d7041c005d0121 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Thu, 13 May 2021 12:37:07 +0200 Subject: Implemented heuristic to detect Safari and Firefox TLS browsing --- example/ndpiReader.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'example') diff --git a/example/ndpiReader.c b/example/ndpiReader.c index ecedfaa1b..b21e2f47c 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -60,6 +60,8 @@ #define ntohl64(x) ( ( (uint64_t)(ntohl( (uint32_t)((x << 32) >> 32) )) << 32) | ntohl( ((uint32_t)(x >> 32)) ) ) #define htonl64(x) ntohl64(x) +#define EURISTICS_CODE 1 + /** Client parameters **/ static char *_pcap_file[MAX_NUM_READER_THREADS]; /**< Ingress pcap file/interfaces */ -- cgit v1.2.3