-
Notifications
You must be signed in to change notification settings - Fork 1.6k
detect/entropy: Unique flowvar names #13591
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
Conversation
Issue: 7814 Support unique flow variable names for entropy-related values. Since this is a breaking change from Suricata 8, unique names are configurable (default value off) with this setting logging: entropy: make-unique: on When `make-unique` is on, entropy-related flow variable names are structured as: <sticky_buffer>_<sid> The default setting of `make-unique` (off) uses this format: <sticky_buffer>
Discuss the new configuration variable that provides unique names for entropy values in logging output: logging.entropy.make-unique Issue: 7418
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #13591 +/- ##
==========================================
+ Coverage 83.63% 83.67% +0.03%
==========================================
Files 1011 1011
Lines 275071 275080 +9
==========================================
+ Hits 230050 230166 +116
+ Misses 45021 44914 -107
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Information: QA ran without warnings. Pipeline = 26871 |
|
||
# Ensure that logged entropy values have unique names by appending the signature_id | ||
# of the rule where used | ||
#entropy: |
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.
think this belongs in eve
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.
It's really a global setting and is independent of an output module.
The variable name must be determined during rule setup time -- as entropy usages are encountered -- to ensure that the variable names are not overwritten (with the sid, the names are unique).
I am not sure this is unique see OISF/suricata-verify#2588 (comment)
|
Continued in #13621 |
Continuation of #13575
Use unique variable names for each flowvar as they come from a global
namespace. The chosen name is:
<sticky_buffer>_<sid>
Describe changes:
Updates:
logging.entropy.make-unique
Issue: 7814
Link to ticket: https://redmine.openinfosecfoundation.org/issues/7814
Provide values to any of the below to override the defaults.
link to the pull request in the respective
_BRANCH
variable.SV_REPO=
SV_BRANCH=OISF/suricata-verify#2588
SU_REPO=
SU_BRANCH=