From 8c2c388d54032f25824c1a0cce4dd379a87bed17 Mon Sep 17 00:00:00 2001 From: aouinizied <aouinizied@gmail.com> Date: Mon, 10 Aug 2020 21:19:17 +0200 Subject: Add Connectivity check category and blacklisted host risk. --- python/ndpi.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'python/ndpi.py') 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, -- cgit v1.2.3