diff options
author | Luca Deri <deri@ntop.org> | 2019-09-15 12:18:24 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-09-15 12:18:24 +0200 |
commit | 11e9fd8cef7a1f70db9f864206a6ac9980ee100e (patch) | |
tree | 750ce6ebda5f99fe029cecc197f7fe1316cc2f69 /example/ndpiReader.c | |
parent | 2b0945b88dc30430e2e40bd422fffc92308147c0 (diff) |
As TLS certificate fingerprint is computed, TLS without certificate protocol has been removed
Various improvemenets in detection quality
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 782e62fb8..01e0864cc 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1111,7 +1111,8 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa print_cipher(flow->ssh_tls.server_unsafe_cipher)); if(flow->ssh_tls.server_organization[0] != '\0') fprintf(out, "[Organization: %s]", flow->ssh_tls.server_organization); - if(flow->detected_protocol.master_protocol == NDPI_PROTOCOL_TLS) { + if((flow->detected_protocol.master_protocol == NDPI_PROTOCOL_TLS) + || (flow->detected_protocol.app_protocol == NDPI_PROTOCOL_TLS)) { if((flow->ssh_tls.sha1_cert_fingerprint[0] == 0) && (flow->ssh_tls.sha1_cert_fingerprint[1] == 0) && (flow->ssh_tls.sha1_cert_fingerprint[2] == 0)) |