TLS obsolete protocol is set when TLS < 1.2 (used to be 1.1)

This commit is contained in:
Luca Deri
2021-10-05 16:44:56 +02:00
parent 730c2360bd
commit 10576eab0a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1697,7 +1697,7 @@ const char* ndpi_risk2str(ndpi_risk_enum risk) {
return("Self-signed Certificate");
case NDPI_TLS_OBSOLETE_VERSION:
return("Obsolete TLS version (older than 1.1)");
return("Obsolete TLS version (older than 1.2)");
case NDPI_TLS_WEAK_CIPHER:
return("Weak TLS cipher");
+1 -1
View File
@@ -1495,7 +1495,7 @@ int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct,
ja3.client.alpn[0] = '\0';
flow->protos.tls_quic_stun.tls_quic.ssl_version = ja3.client.tls_handshake_version = tls_version;
if(flow->protos.tls_quic_stun.tls_quic.ssl_version < 0x0302) /* TLSv1.1 */
if(flow->protos.tls_quic_stun.tls_quic.ssl_version < 0x0303) /* < TLSv1.2 */
ndpi_set_risk(ndpi_struct, flow, NDPI_TLS_OBSOLETE_VERSION);
if((session_id_len+base_offset+3) > packet->payload_packet_len)