TLS Risks - Certificate Validity Too Long (#1239)

* Added flow risk: TLS certificate too long

* Added flow risk: TLS certificate too long

* Date for TLS limit added

* TLS certificate check fixed

Co-authored-by: pacant <a.pace97@outlook.com>
This commit is contained in:
pacant
2021-07-14 11:13:22 +02:00
committed by GitHub
co-authored by pacant
parent c411df523e
commit 19a29e1e22
7 changed files with 70 additions and 2 deletions
+4
View File
@@ -1731,6 +1731,10 @@ const char* ndpi_risk2str(ndpi_risk_enum risk) {
case NDPI_TLS_UNCOMMON_ALPN:
return("Uncommon TLS ALPN");
case NDPI_TLS_CERT_VALIDITY_TOO_LONG:
return("TLS certificate validity longer than 13 months");
default:
snprintf(buf, sizeof(buf), "%d", (int)risk);