diff options
author | Luca Deri <deri@ntop.org> | 2019-05-11 00:50:56 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-05-11 00:50:56 +0200 |
commit | a00ad9fc922c4dccb8073d78d252d85571ac26ea (patch) | |
tree | ba26ea2f2edc7b36972ad073ce84829b2d39a321 /example/ndpi_util.c | |
parent | b96e6a9e2dafe73a00a35a6f94dc11b0ba02f5db (diff) |
Initial JA3 support (https://github.com/salesforce/ja3) for SSL
Diffstat (limited to 'example/ndpi_util.c')
-rw-r--r-- | example/ndpi_util.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/example/ndpi_util.c b/example/ndpi_util.c index 9e1e72132..174312cb8 100644 --- a/example/ndpi_util.c +++ b/example/ndpi_util.c @@ -567,7 +567,11 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl snprintf(flow->ssh_ssl.server_info, sizeof(flow->ssh_ssl.server_info), "%s", flow->ndpi_flow->protos.stun_ssl.ssl.server_certificate); snprintf(flow->ssh_ssl.server_organization, sizeof(flow->ssh_ssl.server_organization), "%s", - flow->ndpi_flow->protos.stun_ssl.ssl.server_organization); + flow->ndpi_flow->protos.stun_ssl.ssl.server_organization); + snprintf(flow->ssh_ssl.ja3_client, sizeof(flow->ssh_ssl.ja3_client), "%s", + flow->ndpi_flow->protos.stun_ssl.ssl.ja3_client); + snprintf(flow->ssh_ssl.ja3_server, sizeof(flow->ssh_ssl.ja3_server), "%s", + flow->ndpi_flow->protos.stun_ssl.ssl.ja3_server); } } |