TLS obsolete protocol is set when TLS < 1.2 (used to be 1.1)
This commit is contained in:
@@ -1697,7 +1697,7 @@ const char* ndpi_risk2str(ndpi_risk_enum risk) {
|
|||||||
return("Self-signed Certificate");
|
return("Self-signed Certificate");
|
||||||
|
|
||||||
case NDPI_TLS_OBSOLETE_VERSION:
|
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:
|
case NDPI_TLS_WEAK_CIPHER:
|
||||||
return("Weak TLS cipher");
|
return("Weak TLS cipher");
|
||||||
|
|||||||
@@ -1495,7 +1495,7 @@ int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct,
|
|||||||
ja3.client.alpn[0] = '\0';
|
ja3.client.alpn[0] = '\0';
|
||||||
|
|
||||||
flow->protos.tls_quic_stun.tls_quic.ssl_version = ja3.client.tls_handshake_version = tls_version;
|
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);
|
ndpi_set_risk(ndpi_struct, flow, NDPI_TLS_OBSOLETE_VERSION);
|
||||||
|
|
||||||
if((session_id_len+base_offset+3) > packet->payload_packet_len)
|
if((session_id_len+base_offset+3) > packet->payload_packet_len)
|
||||||
|
|||||||
Reference in New Issue
Block a user