aboutsummaryrefslogtreecommitdiff
path: root/python/ndpi.py
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2021-11-11 12:36:55 +0100
committerGitHub <noreply@github.com>2021-11-11 12:36:55 +0100
commit3e5491fa109fccfb28cd170d7a1dc3e55e7531e8 (patch)
tree101c56f4be9e31d58e04c4af1c2030042b72fd0e /python/ndpi.py
parent0f168d9150cfcc94464b84591605a2c5e17c728e (diff)
Add detection of OCSP (#1370)
This protocol is detected via HTTP Content-Type header. Until 89d548f9, nDPI had a dedicated automa (`content_automa`) to classify a HTTP flow according to this header. Since then, this automa has been useless because it is always empty. Re-enable it to match only a string seems overkilling. Remove all `content_automa` leftovers.
Diffstat (limited to 'python/ndpi.py')
-rw-r--r--python/ndpi.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/ndpi.py b/python/ndpi.py
index 653f7a4b7..48103e777 100644
--- a/python/ndpi.py
+++ b/python/ndpi.py
@@ -889,7 +889,6 @@ struct ndpi_detection_module_struct {
/* HTTP/DNS/HTTPS host matching */
ndpi_automa host_automa, /* Used for DNS/HTTPS */
- content_automa, /* Used for HTTP subprotocol_detection */
bigrams_automa, impossible_bigrams_automa; /* TOR */
/* IMPORTANT: please update ndpi_finalize_initalization() whenever you add a new automa */