aboutsummaryrefslogtreecommitdiff
path: root/python/ndpi.py
diff options
context:
space:
mode:
authoraouinizied <aouinizied@gmail.com>2020-08-10 21:19:17 +0200
committeraouinizied <aouinizied@gmail.com>2020-08-10 21:19:17 +0200
commit8c2c388d54032f25824c1a0cce4dd379a87bed17 (patch)
tree9b20a7054554bcb4c742a4cf9fb87546c4dc41ab /python/ndpi.py
parent8fcb49af254ae74e63d53be58566d458d8e790fa (diff)
Add Connectivity check category and blacklisted host risk.
Diffstat (limited to 'python/ndpi.py')
-rw-r--r--python/ndpi.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/ndpi.py b/python/ndpi.py
index 85378f526..ee33f6a37 100644
--- a/python/ndpi.py
+++ b/python/ndpi.py
@@ -313,6 +313,7 @@ typedef enum {
NDPI_SSH_OBSOLETE_SERVER_VERSION_OR_CIPHER,
NDPI_SMB_INSECURE_VERSION,
NDPI_TLS_SUSPICIOUS_ESNI_USAGE,
+ NDPI_BLACKLISTED_HOST,
/* Leave this as last member */
NDPI_MAX_RISK
} ndpi_risk_enum;
@@ -822,6 +823,12 @@ typedef enum {
NDPI_PROTOCOL_CATEGORY_PRODUCTIVITY,
NDPI_PROTOCOL_CATEGORY_FILE_SHARING,
+ /*
+ The category below is used by sites who are used
+ to test connectivity
+ */
+ NDPI_PROTOCOL_CATEGORY_CONNECTIVITY_CHECK,
+
/* Some custom categories */
CUSTOM_CATEGORY_MINING = 99,
CUSTOM_CATEGORY_MALWARE = 100,