diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2021-11-11 12:36:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-11 12:36:55 +0100 |
commit | 3e5491fa109fccfb28cd170d7a1dc3e55e7531e8 (patch) | |
tree | 101c56f4be9e31d58e04c4af1c2030042b72fd0e /python/ndpi_typestruct.py | |
parent | 0f168d9150cfcc94464b84591605a2c5e17c728e (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_typestruct.py')
-rw-r--r-- | python/ndpi_typestruct.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/python/ndpi_typestruct.py b/python/ndpi_typestruct.py index b56029584..606bf6576 100644 --- a/python/ndpi_typestruct.py +++ b/python/ndpi_typestruct.py @@ -251,7 +251,6 @@ NDPIDetectionModuleStruct._fields_ = [ ("ndpi_num_supported_protocols", c_uint), ("ndpi_num_custom_protocols", c_uint), ("host_automa", NDPIAutoma), - ("content_automa", NDPIAutoma), ("bigrams_automa", NDPIAutoma), ("impossible_bigrams_automa", NDPIAutoma), ("custom_categories", CustomCategories), |