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

search: introduce a new hyperscan-backed searchdef type: HyperscanSearchDef #6

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Jun 11, 2024

  1. search: introduce a new hyperscan-backed searchdef type: `HyperscanSe…

    …archDef`
    
    Searchkit currently uses python's re which is not known for its' "blow your
    socks off" pattern scanning performance, hence there is an opportunity for
    optimization by simply swapping the regex engine.
    
    Hyperscan is a highly optimized, performant regex engine that is typically
    used high throughput network packet inspection systems (e.g. DPI, IDS/IPS
    systems) for pattern recognition. The work that searchkit does is aligned
    with hyperscan's properties so it would be beneficial for searchkit to
    allow downstream users to leverage hyperscan, especially for searching large
    files.
    
    This patch introduces a hyperscan-backed SearchDef type which can be used as
    a drop-in replacement for the existing SearchDef type. The patch also adds
    hyperscan as a dependency and moves searchkit tests to a base class so the
    tests can be used for testing both SearchDef and HyperscanSearchDef at the
    same time.
    
    Signed-off-by: Mustafa Kemal Gilor <[email protected]>
    mustafakemalgilor committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    c399c6e View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. WIP

    Signed-off-by: Mustafa Kemal Gilor <[email protected]>
    mustafakemalgilor committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    515d9ed View commit details
    Browse the repository at this point in the history