-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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: set mpm/prefilter during signature parsing #12382
base: master
Are you sure you want to change the base?
Conversation
In preparation of flowbit prefilter work that needs this info earlier. Track potential prefilter sm's to avoid unnecessary looping during setup.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #12382 +/- ##
==========================================
+ Coverage 82.46% 82.48% +0.01%
==========================================
Files 914 914
Lines 258316 258279 -37
==========================================
Hits 213030 213030
+ Misses 45286 45249 -37
Flags with carried forward coverage won't be shown. Click here to find out more. |
WARNING:
Pipeline 24191 |
Just a cleanup, no ticket. |
@@ -551,6 +551,9 @@ typedef struct SignatureInitData_ { | |||
bool src_contains_negation; | |||
bool dst_contains_negation; | |||
|
|||
/** see if any of the sigmatches supports an enabled prefilter */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only used in debug logging ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm seems so ya
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it be under #ifdef ? Or used in some other place ? or just removed as a development artifact ?
Besides one nit question, lgtm |
In preparation of flowbit prefilter work that needs this info earlier.
Track potential prefilter sm's to avoid unnecessary looping during setup.