As TLS certificate fingerprint is computed, TLS without certificate protocol has been removed

Various improvemenets in detection quality
This commit is contained in:
Luca Deri
2019-09-15 12:18:24 +02:00
parent 2b0945b88d
commit 11e9fd8cef
24 changed files with 711 additions and 712 deletions
+2 -1
View File
@@ -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))