aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2023-12-22 20:39:44 +0100
committerLuca Deri <deri@ntop.org>2023-12-22 20:40:42 +0100
commit8285fffdaeda5d2405360719a57f817b4772e6d1 (patch)
tree293b33f5c1264f9038988aae9b33e1f0ac7a388c /example/reader_util.c
parentb90c18e9069cd5b3cfcda718263b910e949d8b57 (diff)
Implements JA4 Support (#2191)
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index 64b00b18f..28b208099 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -1326,6 +1326,8 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
flow->ssh_tls.notAfter = flow->ndpi_flow->protos.tls_quic.notAfter;
ndpi_snprintf(flow->ssh_tls.ja3_client, sizeof(flow->ssh_tls.ja3_client), "%s",
flow->ndpi_flow->protos.tls_quic.ja3_client);
+ ndpi_snprintf(flow->ssh_tls.ja4_client, sizeof(flow->ssh_tls.ja4_client), "%s",
+ flow->ndpi_flow->protos.tls_quic.ja4_client);
ndpi_snprintf(flow->ssh_tls.ja3_server, sizeof(flow->ssh_tls.ja3_server), "%s",
flow->ndpi_flow->protos.tls_quic.ja3_server);
flow->ssh_tls.server_unsafe_cipher = flow->ndpi_flow->protos.tls_quic.server_unsafe_cipher;