Skip to content

detect/proto: check ipproto enabled setting first#14713

Closed
inashivb wants to merge 1 commit intoOISF:mainfrom
inashivb:appproto-enabling/v3
Closed

detect/proto: check ipproto enabled setting first#14713
inashivb wants to merge 1 commit intoOISF:mainfrom
inashivb:appproto-enabling/v3

Conversation

@inashivb
Copy link
Member

Previous PR: #14699

Link to ticket: https://redmine.openinfosecfoundation.org/issues/8205

Changes since v2:

  • add missing updates in app-layer-parser
  • rebased on top of latest main

SV_BRANCH=OISF/suricata-verify#2893

Note: This should NOT affect any existing setups and configs. If you see that happening, it should be reported as a bug.

So far, suricata.yaml was probed by default for
`app-layer.protocols.PROTOCOL.enabled`. If this was not found, then, an
attempt was made to look for
`app-layer.protocols.PROTOCOL.IPPROTO.enabled`. This is not ideal
behavior and restricts user to explicitly disable a carrier proto
specific protocol.
By default, check for carrier proto specific setting. If it is not
found, then fall back to the generic setting.

Bug 8205
@codecov
Copy link

codecov bot commented Jan 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.14%. Comparing base (7627756) to head (ec756c1).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14713      +/-   ##
==========================================
+ Coverage   82.13%   82.14%   +0.01%     
==========================================
  Files        1011     1011              
  Lines      263295   263295              
==========================================
+ Hits       216258   216290      +32     
+ Misses      47037    47005      -32     
Flag Coverage Δ
fuzzcorpus 60.21% <100.00%> (+<0.01%) ⬆️
livemode 18.70% <100.00%> (-0.01%) ⬇️
pcap 44.57% <100.00%> (-0.02%) ⬇️
suricata-verify 65.35% <100.00%> (+0.03%) ⬆️
unittests 59.34% <100.00%> (ø)

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.

@victorjulien victorjulien marked this pull request as draft January 29, 2026 10:22
@inashivb inashivb closed this Jan 29, 2026
@inashivb inashivb deleted the appproto-enabling/v3 branch January 29, 2026 10:43
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