Add NDPI_MALFORMED_PACKET risk.

This commit is contained in:
aouinizied
2020-07-09 00:56:44 +02:00
parent d658ac9e61
commit ce02359953
+2 -1
View File
@@ -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)