diff options
author | Luca Deri <deri@ntop.org> | 2020-05-10 21:55:35 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2020-05-10 21:55:35 +0200 |
commit | ee15c6149db30b64c63a9009a3c4ef24280495a6 (patch) | |
tree | a27b344555ac7fabb208cdc02c2d64842d71fc2c /src/lib/ndpi_utils.c | |
parent | ae803c8b51dec9e31e99cb37cd64bd968b314669 (diff) |
Added TLS weak cipher and obsolete protocol version detection
Diffstat (limited to 'src/lib/ndpi_utils.c')
-rw-r--r-- | src/lib/ndpi_utils.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index 2fa21e220..bcdcbb9c6 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1425,7 +1425,13 @@ const char* ndpi_risk2str(ndpi_risk risk) { case NDPI_TLS_SELFSIGNED_CERTIFICATE: return("Self-signed Certificate"); - + + case NDPI_TLS_OBSOLETE_VERSION: + return("Obsolete TLS version (< 1.1)"); + + case NDPI_TLS_WEAK_CIPHER: + return("Weak TLS cipher"); + default: return(""); } |