From ce023599530bb6ae02879959b9a1830622d97d31 Mon Sep 17 00:00:00 2001 From: aouinizied Date: Thu, 9 Jul 2020 00:56:44 +0200 Subject: Add NDPI_MALFORMED_PACKET risk. --- python/ndpi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python/ndpi.py') diff --git a/python/ndpi.py b/python/ndpi.py index a2bd4202f..365fdeadf 100644 --- a/python/ndpi.py +++ b/python/ndpi.py @@ -305,6 +305,7 @@ typedef enum { NDPI_HTTP_SUSPICIOUS_HEADER, NDPI_TLS_NOT_CARRYING_HTTPS, NDPI_SUSPICIOUS_DGA_DOMAIN, + NDPI_MALFORMED_PACKET, /* Leave this as last member */ NDPI_MAX_RISK } ndpi_risk_enum; @@ -1433,4 +1434,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) + self._ffi.dlclose(self._ndpi) \ No newline at end of file -- cgit v1.2.3