-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Detect list rule proto 635 v1 #14380
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
base: main
Are you sure you want to change the base?
Conversation
9551c67 to
617d5d7
Compare
|
Force-pushed rust bindings update |
To use an array, instead of hard-coded values. Opens the path to list the rule protocols Ticket: 635
To list the protocols we can use a in a rule header Ticket: 635
617d5d7 to
b479345
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #14380 +/- ##
==========================================
- Coverage 84.19% 84.18% -0.02%
==========================================
Files 1012 1012
Lines 261796 261793 -3
==========================================
- Hits 220414 220380 -34
- Misses 41382 41413 +31
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 = 28552 |
|
|
||
| struct { | ||
| const char *name; | ||
| uint8_t proto; |
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 we make this an int and use -1 as not set? Technically 0 is a valid ip protocol number https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
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.
Ok as long as one of the rule-proto keywords does not set it ;-)
Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/635
Describe changes:
--list-rule-protosto show tcp-pkt and other