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

Applayer plugin 5053 v3.2 #11696

Closed
wants to merge 12 commits into from

Conversation

catenacyber
Copy link
Contributor

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
Preliminary work for https://redmine.openinfosecfoundation.org/issues/5053

Describe changes:

  • get ready to use dynamic number of app-layer protos (also work with static constant) in some places
  • preventive fix of macro with parenthesis cc @jufajardini

#11572 next round

Still more work to do after :
Only AppProtoStrings is to be handled, but it is the big one.

And then take remaining commits out of #11321
And supply an example of an app-layer plugin

instead of a global variable.

For easier initialization with dynamic number of protocols
for expectation_proto

Ticket: 5053
@suricata-qa
Copy link

ERROR:

ERROR: QA failed on ASAN_TLPR1_suri.

Pipeline 22315

Ticket: 5053

delay after initialization so that StringToAppProto works
so that we can use safely EXCEPTION_POLICY_MAX*sizeof(x)
@catenacyber catenacyber force-pushed the applayer-plugin-5053-v3.2 branch from 94b94a4 to 6547368 Compare September 2, 2024 12:50
@catenacyber catenacyber marked this pull request as draft September 2, 2024 12:50
@catenacyber
Copy link
Contributor Author

Draft to see CI with array dimensions well ordered..

Copy link

codecov bot commented Sep 2, 2024

Codecov Report

Attention: Patch coverage is 90.52632% with 18 lines in your changes missing coverage. Please review.

Project coverage is 82.43%. Comparing base (15fe844) to head (5ade718).
Report is 38 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11696      +/-   ##
==========================================
- Coverage   82.63%   82.43%   -0.21%     
==========================================
  Files         919      919              
  Lines      249032   248933      -99     
==========================================
- Hits       205795   205201     -594     
- Misses      43237    43732     +495     
Flag Coverage Δ
fuzzcorpus 60.06% <80.85%> (-0.82%) ⬇️
livemode 18.72% <69.14%> (-0.04%) ⬇️
pcap 44.16% <84.04%> (+0.01%) ⬆️
suricata-verify 61.86% <90.42%> (-0.04%) ⬇️
unittests 59.01% <69.47%> (+<0.01%) ⬆️

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

@suricata-qa
Copy link

ERROR:

ERROR: QA failed on SURI_TLPR1_alerts_cmp.

Pipeline 22316

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 22320

@catenacyber
Copy link
Contributor Author

Clean in #11701

@catenacyber catenacyber closed this Sep 2, 2024
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