aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-08-22 19:25:58 +0200
committerLuca Deri <deri@ntop.org>2019-08-22 19:25:58 +0200
commite7c0ac37d87958c80115e7553ea39b26668ce360 (patch)
treea3d6adb3b5379fc9ac67916cda6dbd8f5a09ae29 /example/reader_util.c
parent385e848a0f61b9e517f096b010070a6dd61d1f62 (diff)
Implemented HASSH (https://github.com/salesforce/hassh)
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index b57e23526..b8e21cce8 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -862,6 +862,10 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
flow->ndpi_flow->protos.ssh.client_signature);
snprintf(flow->ssh_tls.server_info, sizeof(flow->ssh_tls.server_info), "%s",
flow->ndpi_flow->protos.ssh.server_signature);
+ snprintf(flow->ssh_tls.client_hassh, sizeof(flow->ssh_tls.client_hassh), "%s",
+ flow->ndpi_flow->protos.ssh.hassh_client);
+ snprintf(flow->ssh_tls.server_hassh, sizeof(flow->ssh_tls.server_hassh), "%s",
+ flow->ndpi_flow->protos.ssh.hassh_server);
}
/* TLS */
else if((flow->detected_protocol.app_protocol == NDPI_PROTOCOL_TLS)