diff options
author | Luca Deri <deri@ntop.org> | 2021-03-09 23:38:29 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-03-09 23:38:29 +0100 |
commit | f6ad16d8f8567c990431a6cd38cf5357d7a60723 (patch) | |
tree | bd2fd550ac2dceca37f08d62dee108fe337c8b5e /src/lib/ndpi_main.c | |
parent | 8074bc82013c9b14cc59a32fcc7c75a6b56ff8dd (diff) |
Added experiemntal JA3+ implementation that can be used with -z i ndpiReader
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 36ec8db5b..840f64513 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -2156,6 +2156,9 @@ struct ndpi_detection_module_struct *ndpi_init_detection_module(ndpi_init_prefs NDPI_BITMASK_RESET(ndpi_str->debug_bitmask); #endif /* NDPI_ENABLE_DEBUG_MESSAGES */ + if(prefs & ndpi_enable_ja3_plus) + ndpi_str->enable_ja3_plus = 1; + #ifdef HAVE_LIBGCRYPT if(!(prefs & ndpi_dont_init_libgcrypt)) { if(!gcry_control (GCRYCTL_INITIALIZATION_FINISHED_P)) { |