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.7 #12052

Closed
wants to merge 14 commits into from

Conversation

catenacyber
Copy link
Contributor

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
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

#11987 with needed rebase to take care of #11983 + codeql fix

Example plugin at https://github.com/catenacyber/suricata-zabbix

instead of a global variable.

For easier initialization with dynamic number of protocols
for expectation_proto

Ticket: 5053
so that we can use safely EXCEPTION_POLICY_MAX*sizeof(x)
Ticket: 5053

delay after initialization so that StringToAppProto works
Ticket: 5053

The names are nwo dynamic
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

Attention: Patch coverage is 74.43182% with 90 lines in your changes missing coverage. Please review.

Project coverage is 78.43%. Comparing base (3a7eef8) to head (129f047).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12052      +/-   ##
==========================================
- Coverage   83.42%   78.43%   -5.00%     
==========================================
  Files         910      910              
  Lines      257642   257719      +77     
==========================================
- Hits       214949   202131   -12818     
- Misses      42693    55588   +12895     
Flag Coverage Δ
fuzzcorpus ?
livemode 19.42% <57.92%> (+0.01%) ⬆️
pcap 44.45% <70.02%> (-0.04%) ⬇️
suricata-verify 62.77% <74.06%> (+0.01%) ⬆️
unittests 59.35% <57.67%> (-0.02%) ⬇️

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

@catenacyber catenacyber marked this pull request as draft October 29, 2024 12:56
@catenacyber
Copy link
Contributor Author

Draft: fixing all configure-option builds

@catenacyber
Copy link
Contributor Author

Next in #12060

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.

1 participant