From 7b0c16a70d25687ff7abaa859e3e11e54513286e Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Tue, 5 Dec 2023 08:05:44 +0100 Subject: TLS: remove JA3+ fingerprints. (#2192) See: #2191 --- example/ndpiReader.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'example/ndpiReader.c') diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 0b762e23c..490e0f4cb 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -523,7 +523,7 @@ static void help(u_int long_help) { "[-f ][-s ][-m ][-b ]\n" " [-p ][-l [-q][-d][-h][-H][-D][-e ][-E][-t][-v ]\n" " [-n ][-w ][-c ][-C ][-j ][-x ]\n" - " [-r ][-j ][-S ][-T ][-U ] [-x ][-z]\n" + " [-r ][-j ][-S ][-T ][-U ] [-x ]\n" " [-a ][-B proto_list]\n\n" "Usage:\n" " -i | Specify a pcap file/playlist to read packets from or a\n" @@ -586,7 +586,6 @@ static void help(u_int long_help) { " -D | Enable DoH traffic analysis based on content (no DPI)\n" " -x | Check domain name [Test only]\n" " -I | Ignore VLAN id for flow hash calculation\n" - " -z | Enable JA3+\n" " -A | Dump internal statistics (LRU caches / Patricia trees / Ahocarasick automas / ...\n" " -M | Memory allocation stats on data-path (only by the library). It works only on single-thread configuration\n" " -Z proto:value | Set this value of aggressiveness for this protocol (0 to disable it). This flag can be used multiple times\n" @@ -989,7 +988,7 @@ static void parseOptions(int argc, char **argv) { } while((opt = getopt_long(argc, argv, - "a:Ab:B:e:Ec:C:dDFf:g:G:i:Ij:k:K:S:hHp:pP:l:r:s:tu:v:V:n:rp:x:X:w:zZ:q0123:456:7:89:m:MT:U:", + "a:Ab:B:e:Ec:C:dDFf:g:G:i:Ij:k:K:S:hHp:pP:l:r:s:tu:v:V:n:rp:x:X:w:Z:q0123:456:7:89:m:MT:U:", longopts, &option_idx)) != EOF) { #ifdef DEBUG_TRACE if(trace) fprintf(trace, " #### Handling option -%c [%s] #### \n", opt, optarg ? optarg : ""); @@ -1287,10 +1286,6 @@ static void parseOptions(int argc, char **argv) { if(max_num_udp_dissected_pkts < 3) max_num_udp_dissected_pkts = 3; break; - case 'z': - init_prefs |= ndpi_enable_ja3_plus; - break; - case OPTLONG_VALUE_LRU_CACHE_SIZE: if(parse_cache_param(optarg, &cache_idx, &cache_size) == -1) { printf("Invalid parameter [%s]\n", optarg); -- cgit v1.2.3