Added TLS fatal alert flow risk

This commit is contained in:
Luca Deri
2021-08-07 19:40:44 +02:00
parent e8455236bd
commit 4183718952
6 changed files with 39 additions and 12 deletions
+3 -1
View File
@@ -67,6 +67,7 @@ typedef enum {
- https://github.com/ntop/ntopng/blob/dev/scripts/lua/modules/flow_risk_utils.lua
- ndpi_risk_enum (in python/ndpi.py)
- ndpi_known_risks (ndpi_utils.c)
- ndpi_known_risks (ndpi_main.c)
*/
typedef enum {
NDPI_NO_RISK = 0,
@@ -102,7 +103,8 @@ typedef enum {
NDPI_DESKTOP_OR_FILE_SHARING_SESSION, /* 30 */
NDPI_TLS_UNCOMMON_ALPN,
NDPI_TLS_CERT_VALIDITY_TOO_LONG,
NDPI_TLS_EXTENSION_SUSPICIOUS,
NDPI_TLS_SUSPICIOUS_EXTENSION,
NDPI_TLS_FATAL_ALERT,
/* Leave this as last member */
NDPI_MAX_RISK /* must be <= 63 due to (**) */