suricata icon indicating copy to clipboard operation
suricata copied to clipboard

Convert the napatech packet source to a plugin

Open jlucovsky opened this issue 1 year ago • 2 comments

Continuation of #11651

This PR contains the changes to distribute and build the Napatech source modules as a "capture plugin".

Describe changes:

  • Converted the Napatech source modules to be suitable for a capture plugin
  • User-level upgrade documentation

Updates:

  • Doc update -- use "Napatech" instead of "NAPATECH"
  • Revert unnecessary change to decode module name -- NapatechDecode.
  • Combine like commits (remove unnecessary fixup commit)
  • Doc tweaks per review feedback

Provide values to any of the below to override the defaults.

  • To use an LibHTP, Suricata-Verify or Suricata-Update pull request, link to the pull request in the respective _BRANCH variable.
  • Leave unused overrides blank or remove.

SV_REPO= SV_BRANCH= SU_REPO= SU_BRANCH= LIBHTP_REPO= LIBHTP_BRANCH=

jlucovsky avatar Aug 24 '24 13:08 jlucovsky

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.61%. Comparing base (304271e) to head (37d9979). Report is 12 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11657   +/-   ##
=======================================
  Coverage   82.61%   82.61%           
=======================================
  Files         919      917    -2     
  Lines      248997   248970   -27     
=======================================
- Hits       205717   205696   -21     
+ Misses      43280    43274    -6     
Flag Coverage Δ
fuzzcorpus 60.88% <ø> (+<0.01%) :arrow_up:
livemode 18.65% <ø> (-0.01%) :arrow_down:
pcap 44.03% <ø> (-0.12%) :arrow_down:
suricata-verify 61.89% <ø> (-0.01%) :arrow_down:
unittests 59.00% <ø> (-0.01%) :arrow_down:

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

codecov[bot] avatar Aug 24 '24 14:08 codecov[bot]

Information: QA ran without warnings.

Pipeline 22245

suricata-qa avatar Aug 24 '24 18:08 suricata-qa

Continued in #11687

jlucovsky avatar Aug 31 '24 13:08 jlucovsky