Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hyperscan: add caching mechanism for hyperscan contexts v5 #11811

Closed

Commits on Sep 23, 2024

  1. hashlittle: add a safe variant of hashlittle2 function

    This variant of hashlittle2() ensures that it avoids
    accesses beyond the last byte of the string, which will
    cause warnings from tools like Valgrind or Address
    Sanitizer.
    Lukas Sismis authored and Lukas Sismis committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    28c5373 View commit details
    Browse the repository at this point in the history
  2. hyperscan: add caching mechanism for hyperscan contexts

    Cache Hyperscan serialized databases to disk to prevent compilation
    of the same databases when Suricata is run again with the same
    ruleset.
    The current work operates in /tmp/ folder and caches individual
    signature group heads - potentially the ruleset might be even
    slightly changed and it still can reuse part of the unchanged
    signature groups.
    Loading *fresh* ET Open ruleset:  19 seconds
    Loading *cached* ET Open ruleset: 07 seconds
    Lukas Sismis authored and Lukas Sismis committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    4cb7265 View commit details
    Browse the repository at this point in the history
  3. util-path: remove dead code

    Lukas Sismis authored and Lukas Sismis committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    653466c View commit details
    Browse the repository at this point in the history
  4. detect-engine: remove commented out code

    Lukas Sismis authored and Lukas Sismis committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    02921a5 View commit details
    Browse the repository at this point in the history