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

ndpi plugin support/v5 - fuzz fix test #12109

Closed
wants to merge 7 commits into from

Commits on Nov 11, 2024

  1. flow: add callbacks for flow init and flow updates

    Adds user registerable callbacks for flow initialization, flow
    update and flow finish.
    
    Some plugins, such as other DPI libraries like nDPI need a way to hook
    into these flow lifecycle events.
    
    Ticket: OISF#7319
    Ticket: OISF#7320
    jasonish committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    b394847 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    583c8a9 View commit details
    Browse the repository at this point in the history
  3. threads: add initialization callbacks

    For library users and plugins that need to hook into the thread life
    cycle, perhaps to initialize some thread storage.
    jasonish committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    1798275 View commit details
    Browse the repository at this point in the history
  4. eve: user callbacks for adding additional data

    Provide a way for library/plugin users to register a callback that
    will be called prior to an EVE record being closed. The callback will
    be passed ThreadVars, Packet, and Flow pointers if available, as well
    as private user data.
    jasonish committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    51830e4 View commit details
    Browse the repository at this point in the history
  5. examples/plugin: update to find generated rust header

    Needed for changes to output-eve.h.
    jasonish committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    c722628 View commit details
    Browse the repository at this point in the history
  6. detect: break apart sigtable setup and initialization

    Allows initialization to be done early, so the table is ready for
    dynamic registration by plugins which are loaded before signature
    setup.
    jasonish committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    1e13a3f View commit details
    Browse the repository at this point in the history
  7. make: install-headers: rust-bindings.h

    rust-bindings.h was not being installed with "make install-headers",
    and its now pulled in by a header used for plugin support, so make
    sure its installed.
    
    We first attempt to install the "dist" version if exists, otherwise
    install the "gen" one. Also install the "gen" even if the "dist" one
    exists, as its going to be newer.
    jasonish committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    bc94519 View commit details
    Browse the repository at this point in the history