Skip to content
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

app-layer: improve limits on number of probing parsers #12464

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

catenacyber
Copy link
Contributor

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

Describe changes:

  • app-layer: improve limits on number of probing parsers

Make the original change after merge of #12403 and the QA rebaseline

There was an implicit limit of 32 app-layer protocols
used by probing parsers through a mask, meaning that
Suricata should not support more than 32 app-layer protocols
in total.

This limit is relaxed to each flow not being able to
run more than 32 probing parsers, meaning that for each source
and destination port combination, the sum of registered
probing parsers should not exceed 32, even if there are more
than 32 in total.

Also sets probing parsers done sooner in the case the other
side of the connection was detected first.

Ticket: 7437
Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.64%. Comparing base (5d9fad5) to head (f1d8f71).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #12464   +/-   ##
=======================================
  Coverage   80.63%   80.64%           
=======================================
  Files         920      920           
  Lines      258739   258678   -61     
=======================================
- Hits       208643   208599   -44     
+ Misses      50096    50079   -17     
Flag Coverage Δ
fuzzcorpus 56.84% <83.33%> (+0.02%) ⬆️
livemode 19.39% <0.00%> (-0.01%) ⬇️
pcap 44.30% <83.33%> (+0.02%) ⬆️
suricata-verify 63.25% <83.33%> (+0.01%) ⬆️
unittests 58.52% <93.47%> (-0.01%) ⬇️

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

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 24342

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.

2 participants