aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2020-08-06 10:18:27 +0200
committerGitHub <noreply@github.com>2020-08-06 10:18:27 +0200
commit95dfbdc64a48c3f8e57189499d5bb82b1b41ab09 (patch)
tree4a1c4691805eb789b9284ca574f9bd3f6cfc7262 /python
parentc2156a516193ada6fee37ab6b7a26f712ee02e14 (diff)
parent79b89d286605635f15edfe3c21297aaa3b5f3acf (diff)
Merge pull request #973 from IvanNardi/esni3
Add risk flag about suspicious ESNI usage
Diffstat (limited to 'python')
-rw-r--r--python/ndpi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/ndpi.py b/python/ndpi.py
index 227db5bb5..85378f526 100644
--- a/python/ndpi.py
+++ b/python/ndpi.py
@@ -312,6 +312,7 @@ typedef enum {
NDPI_SSH_OBSOLETE_CLIENT_VERSION_OR_CIPHER,
NDPI_SSH_OBSOLETE_SERVER_VERSION_OR_CIPHER,
NDPI_SMB_INSECURE_VERSION,
+ NDPI_TLS_SUSPICIOUS_ESNI_USAGE,
/* Leave this as last member */
NDPI_MAX_RISK
} ndpi_risk_enum;
@@ -1446,4 +1447,4 @@ class NDPI():
def ndpi_exit_detection_module(self):
""" Exit function for nDPI module """
self._ndpi.ndpi_exit_detection_module(self._mod)
- self._ffi.dlclose(self._ndpi) \ No newline at end of file
+ self._ffi.dlclose(self._ndpi)