From daae1cc9b1ae6b7c6b4187003fabb2a6ffab44f0 Mon Sep 17 00:00:00 2001 From: Luca Date: Wed, 1 Jan 2020 12:59:19 +0100 Subject: Reworked TLS dissection --- example/ndpiReader.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'example/ndpiReader.c') diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 77b1a3591..9ccef7e8e 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1214,6 +1214,8 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa print_cipher(flow->ssh_tls.client_unsafe_cipher)); if(flow->ssh_tls.server_info[0] != '\0') fprintf(out, "[Server: %s]", flow->ssh_tls.server_info); + + if(flow->ssh_tls.server_names) fprintf(out, "[ServerNames: %s]", flow->ssh_tls.server_names); if(flow->ssh_tls.server_hassh[0] != '\0') fprintf(out, "[HASSH-S: %s]", flow->ssh_tls.server_hassh); if(flow->ssh_tls.ja3_server[0] != '\0') fprintf(out, "[JA3S: %s%s]", flow->ssh_tls.ja3_server, -- cgit v1.2.3