Skip to content

next/1462/20260825/v1 - #16099

Merged
victorjulien merged 6 commits into
OISF:mainfrom
victorjulien:next/1462/20260825/v1
Aug 25, 2026
Merged

next/1462/20260825/v1#16099
victorjulien merged 6 commits into
OISF:mainfrom
victorjulien:next/1462/20260825/v1

Conversation

Lukas Sismis and others added 6 commits August 24, 2026 12:54
Mapping an app-layer progress state to its generic request-/response-
hook alias was hardcoded in multiple places.

This commit adds a wrapper to unify it to a single function.
It returns the config-form (hyphenated) name, or NULL for an
intermediate state.

Ticket: 8712
Every hook has a built-in default policy, but expressing anything other
than the built-in meant naming each hook explicitly.
This commit adds a `default-policy` setting that covers all hooks below it.
For any hook the most specific setting present wins.

DoParseAppSubStatePolicy() collapses into DoParseAppPolicy() as a sub state
hook only differs by an extra path segment.

Ticket: 8712
Validate the resolved scope against the class of hook it is being applied
to and fail at startup if it does not fit.

Ticket: 8712
A rule like `frame:http1.response; to_md5;` could have a buffer
bigger than the frame

Ticket: 8763
@victorjulien
victorjulien requested review from a team, jasonish and jufajardini as code owners August 25, 2026 05:56
@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.40397% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.06%. Comparing base (acd9d3a) to head (7c66954).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16099   +/-   ##
=======================================
  Coverage   83.05%   83.06%           
=======================================
  Files        1004     1004           
  Lines      277359   277376   +17     
=======================================
+ Hits       230370   230389   +19     
+ Misses      46989    46987    -2     
Flag Coverage Δ
fuzzcorpus 61.50% <2.64%> (-0.03%) ⬇️
livemode 18.42% <0.00%> (-0.17%) ⬇️
netns 22.88% <52.98%> (-0.03%) ⬇️
pcap 45.42% <1.32%> (+<0.01%) ⬆️
suricata-verify 67.15% <89.40%> (+<0.01%) ⬆️
unittests 58.52% <1.32%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@suricata-qa

Copy link
Copy Markdown

Information: QA ran without warnings.

Pipeline = 33277

@catenacyber catenacyber left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good staging

Good SV

Green CI+QA

@victorjulien
victorjulien merged commit 7c66954 into OISF:main Aug 25, 2026
64 checks passed
@victorjulien
victorjulien deleted the next/1462/20260825/v1 branch August 25, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants