-
Notifications
You must be signed in to change notification settings - Fork 1.7k
next/1187/20260122/v1 #14673
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
next/1187/20260122/v1 #14673
Conversation
- cleaner YouTube link - fix weird sentence Follow-up of Task OISF#5612
Issue: 7146 Create an event when the IPv4 header contains an unknown IP protocol.
Use of t_pcapcnt is only relevant when compiled in debug mode only. This patch adds additional debug guard to also shield the declaration and assignment.
For an easier review process, this is a two-step change process, in which pcap_cnt is first accessed by functions-to-be, implemented as simple macros. In the follow-up commit, the actual refactor is implemented with the new function. The old macros are deleted. Ticket: 7835
Code refactor to gather all PCAP-related structure members under one structure. New pcap_v structure guards protect the union variables from other capture modes trying to access the packet number incorrectly. Ticket: 7835
This should make it possible to catch invalid combinations in the same signature early. This patch covers checking and erroring on the following invalid cmd combinations: - set + isset - unset + isnotset - set + toggle - set + unset - isset + isnotset - unset + toggle the same flowbit in the same signature which is basically an unnecessary operation at runtime. This also helps bring down the difficulty of handling of actual complex flowbit chains. Bug 7772 Bug 7773 Bug 7774 Bug 7817 Bug 7818 Bug 8166
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #14673 +/- ##
==========================================
- Coverage 82.11% 82.11% -0.01%
==========================================
Files 1011 1011
Lines 262812 262924 +112
==========================================
+ Hits 215812 215896 +84
- Misses 47000 47028 +28
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
catenacyber
left a comment
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.
Good staging
Good SV
Good CI
QA ?
|
reran trex_generic and ips in dev after a reboot and everything was fine. so i guess run again and if it goes off ill have to reboot prod and try yet again? |
|
Information: QA ran without warnings. Pipeline = 29250 |
Staging:
SV_BRANCH=OISF/suricata-verify#2883