suricata icon indicating copy to clipboard operation
suricata copied to clipboard

detect/alert: don't lose 'drop' alert - v2

Open jufajardini opened this issue 2 years ago • 3 comments

Previous PR: #7469

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

Describe changes:

  • Use a more descriptive name for the flag that indicates the alert queue reallocation failure
  • make PacketAlertSet more human-error proof
  • make PacketAlertFinalize more compact

Still as draft due to the Feat 5319 commits

suricata-verify-pr: 842 https://github.com/OISF/suricata-verify/pull/842

jufajardini avatar Jun 03 '22 18:06 jufajardini

Codecov Report

Merging #7476 (f896a44) into master (42a661f) will increase coverage by 0.00%. The diff coverage is 88.73%.

@@           Coverage Diff           @@
##           master    #7476   +/-   ##
=======================================
  Coverage   75.75%   75.75%           
=======================================
  Files         655      655           
  Lines      188393   188429   +36     
=======================================
+ Hits       142717   142745   +28     
- Misses      45676    45684    +8     
Flag Coverage Δ
fuzzcorpus 60.09% <73.23%> (+<0.01%) :arrow_up:
suricata-verify 52.25% <92.18%> (+<0.01%) :arrow_up:
unittests 60.89% <65.57%> (-0.01%) :arrow_down:

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

codecov[bot] avatar Jun 03 '22 19:06 codecov[bot]

ERROR:

ERROR: QA failed on tlpw1_files_sha256.

ERROR: QA failed on ips_afp_drop_chk.

Pipeline 7685

suricata-qa avatar Jun 03 '22 21:06 suricata-qa

ERROR:

ERROR: QA failed on tlpw1_files_sha256.

ERROR: QA failed on ips_afp_drop_chk.

Pipeline 7685

suricata-qa avatar Sep 01 '22 20:09 suricata-qa

Replaced by https://github.com/OISF/suricata/pull/7969

jufajardini avatar Oct 04 '22 23:10 jufajardini