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

Detect cleanups/0712/v2 #10003

Closed
wants to merge 3 commits into from
Closed

Conversation

inashivb
Copy link
Member

@inashivb inashivb commented Dec 7, 2023

Previous PR: #9998

Changes since v1:

  • Comments addressed
  • Made RuleMpmIsNegated return bool too

There is nothing Address specific going on in the preparations.
Stage 1: Preprocessing happens. Sigs classified as IP Only, Masks
applied, content specific limits applied, etc and sig array built.
Stage 2: Sigs grouped by IPOnly, ports and protocols.
Stage 3: Decoder Events SGH built.
Stage 4: File flags set, sig grouping done per prefilter, etc.
The flag SIG_FLAG_MPM_NEG is set before whitelisting the rules. Make it
better by checking for the flag in the beginning and return immediately.
@inashivb inashivb marked this pull request as ready for review December 7, 2023 15:07
@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 16938

@victorjulien victorjulien added this to the 8.0 milestone Dec 8, 2023
@victorjulien
Copy link
Member

Merged in #10028, thanks!

@inashivb inashivb deleted the detect-cleanups/0712/v2 branch March 6, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants