aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-06-16 10:08:21 +0200
committerLuca Deri <deri@ntop.org>2019-06-16 10:08:21 +0200
commit5b7a08bac331d3d30f4ed29acb18f5c99c57883d (patch)
tree79851e9943dc52cbd297b9d473541b59080de87f /example/ndpiReader.c
parent709a87c8d442c40aa9f32e450d8e7665732dd9c3 (diff)
Added SSL cipher print
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 1a5dbbfd0..508050e12 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -845,6 +845,8 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa
if(flow->ssh_ssl.ja3_server[0] != '\0') fprintf(out, "[JA3S: %s%s]", flow->ssh_ssl.ja3_server,
print_cipher(flow->ssh_ssl.server_unsafe_cipher));
if(flow->ssh_ssl.server_organization[0] != '\0') fprintf(out, "[organization: %s]", flow->ssh_ssl.server_organization);
+ if(flow->ssh_ssl.server_cipher != '\0') fprintf(out, "[%s]", print_cipher_id(flow->ssh_ssl.server_cipher));;
+
if(flow->bittorent_hash[0] != '\0') fprintf(out, "[BT Hash: %s]", flow->bittorent_hash);
fprintf(out, "\n");