diff options
author | Luca Deri <deri@ntop.org> | 2021-05-13 12:37:07 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-05-13 12:37:07 +0200 |
commit | a62be9b8ecd4d3bd885654ee27d7041c005d0121 (patch) | |
tree | 17dbfe105098a09a0cd44cd360d808ad1edd34bb /example/ndpiReader.c | |
parent | 87076dcd5bcadbe9dbd24284429db59368af04a4 (diff) |
Implemented heuristic to detect Safari and Firefox TLS browsing
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |