-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
next/580/20240920/v1 #11804
next/580/20240920/v1 #11804
Conversation
If a stream-only rule matches, and we find a tx where we want to log the app-layer data, store into the tx data that we already logged, so that we do not log again the app-layer metadata Ticket: 7085
No need to first turn it into a flags field.
In case this hits logging an error is harmful, better to silently continue. Remove use of `default` to help the compiler flag new enum additions.
When removing mentions to `prune-flows` a few inconsistencies for how we write and refer to `emergency-recovery` were left behind, still.
Related to Bug OISF#7113
PGSQL's current implementation tracks the transaction progress without taking into consideration flow direction, and also has indirections that make it harder to understand how the progress is tracked, as well as when a request or response is actually complete. This patch introduces tracking such progress per direction and adds completion status per direction, too. This will help when triggering raw stream reassembly or for unidirectional transactions, and may be useful when we implement sub-protocols that can have multiple requests per transaction, as well. CancelRequests and TerminationRequests are examples of unidirectional transactions. There won't be any responses to those requests, so we can also mark the response side as done, and set their transactions as completed. Bug OISF#7113
Once we are tracking tx progress per-direction for PGSQL, we can trigger the raw stream reassembly, for detection purposes, as soon as the transactions are completed in the given direction. Task OISF#7000
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #11804 +/- ##
=========================================
Coverage ? 82.59%
=========================================
Files ? 919
Lines ? 249091
Branches ? 0
=========================================
Hits ? 205738
Misses ? 43353
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
- All original PRs approved
- commits match
- number of removed and added lines match
- all checks pass
Information: QA ran without warnings. Pipeline 22757 |
Staging:
SV_BRANCH=OISF/suricata-verify#2050