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 v14 #12667

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

catenacyber
Copy link
Contributor

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/4102 with all 6 subtickets

Describe changes:

  • add app-layer plugin example with template protocol
  • document app-layer plugins

#12635 with clean history

I think #12599 should come before that PR

And I think we would also want after that, another PR that splits suricata crate in 2 : like suricata-core which has 0 dependencies and can be used by plugins, and the rest of suricata

and use generic logger callback prototype with later cast

and do some other small modifications so that the plugin
has less diff
so that it can be used by plugins

Avoid export by cbindgen as this constant is also defined in C
including the tx parameter to the logger function
Ticket: 7151
Ticket: 7152
Ticket: 7154
Ticket: 7149
Ticket: 7150
Ticket: 7153
Copy link

codecov bot commented Feb 25, 2025

Codecov Report

Attention: Patch coverage is 90.24390% with 4 lines in your changes missing coverage. Please review.

Project coverage is 80.79%. Comparing base (3bc2a14) to head (5a0e8c9).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12667      +/-   ##
==========================================
+ Coverage   80.77%   80.79%   +0.02%     
==========================================
  Files         932      932              
  Lines      259517   259884     +367     
==========================================
+ Hits       209629   209983     +354     
- Misses      49888    49901      +13     
Flag Coverage Δ
fuzzcorpus 57.09% <90.24%> (+0.10%) ⬆️
livemode 19.32% <4.87%> (-0.06%) ⬇️
pcap 44.24% <46.34%> (+0.08%) ⬆️
suricata-verify 63.53% <89.74%> (+0.02%) ⬆️
unittests 58.26% <31.70%> (-0.06%) ⬇️

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 24883

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