aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2024-09-16 09:21:17 +0200
committerLuca <deri@ntop.org>2024-09-16 09:21:17 +0200
commit6de91c78955a0d85d97518c273366bd9d6ede5de (patch)
tree841b625835620e2f0f6859a8545c09c542607842 /src/lib/protocols
parentb77d3e3ab6d216cda9a092794a5fb8b1eac86fe6 (diff)
Reworked fingerprint export now in JSON
Diffstat (limited to 'src/lib/protocols')
-rw-r--r--src/lib/protocols/tls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/protocols/tls.c b/src/lib/protocols/tls.c
index 7eb89c648..b558df504 100644
--- a/src/lib/protocols/tls.c
+++ b/src/lib/protocols/tls.c
@@ -1,7 +1,7 @@
/*
* tls.c - TLS/TLS/DTLS dissector
*
- * Copyright (C) 2016-22 - ntop.org
+ * Copyright (C) 2016-24 - ntop.org
*
* nDPI is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -29,7 +29,7 @@
#include "ndpi_encryption.h"
#include "ndpi_private.h"
-/* #define JA4R_DECIMAL 1 */
+#define JA4R_DECIMAL 1
static void ndpi_search_tls_wrapper(struct ndpi_detection_module_struct *ndpi_struct,
struct ndpi_flow_struct *flow);
@@ -1801,7 +1801,7 @@ static void ndpi_compute_ja4(struct ndpi_detection_module_struct *ndpi_struct,
#endif
#ifdef JA4R_DECIMAL
- rc = snprintf(&ja4_r[ja4_r_len], sizeof(ja4_r)-ja4_r_len, " ");
+ rc = snprintf(&ja4_r[ja4_r_len], sizeof(ja4_r)-ja4_r_len, "_");
if(rc > 0) ja4_r_len += rc;
#endif