Implemented heuristic to detect Safari and Firefox TLS browsing

This commit is contained in:
Luca Deri
2021-05-13 12:37:07 +02:00
parent 87076dcd5b
commit a62be9b8ec
4 changed files with 829 additions and 458 deletions
+2
View File
@@ -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 */