Skip to content

detect/csum: rm interaction btw stream setting/csum (main-7.0.x backport)#12548

Closed
jlucovsky wants to merge 2 commits intoOISF:main-7.0.xfrom
jlucovsky:7468/2
Closed

detect/csum: rm interaction btw stream setting/csum (main-7.0.x backport)#12548
jlucovsky wants to merge 2 commits intoOISF:main-7.0.xfrom
jlucovsky:7468/2

Conversation

@jlucovsky
Copy link
Contributor

Continuation of #12544

Backport of issue 7468

Stream checksum validation no longer has a side effect of setting PKT_IGNORE_CHECKSUM and thus, no longer affects csum keyword checks.

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

Describe changes:

  • During stream checksum validation checks, no longer set PKT_IGNORE_CHECKSUM

Updates:

  • Fixed documentation issue causing CI failures.

NB: Updated s-v test link: no functional changes in new pr.

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=OISF/suricata-verify#2277
SU_REPO=
SU_BRANCH=
LIBHTP_REPO=
LIBHTP_BRANCH=

Issue: 7467

Stream checksum validation no longer has a side effect of setting
PKT_IGNORE_CHECKSUM and thus, no longer affects csum keyword checks.

(cherry picked from commit 758da98)
Describe the change of behavior between the stream.checksum-validation
setting and checksum-based rule keywords.

(cherry picked from commit cfbf8fd)
@codecov
Copy link

codecov bot commented Feb 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.23%. Comparing base (2be430e) to head (d6681cc).
Report is 6 commits behind head on main-7.0.x.

Additional details and impacted files
@@              Coverage Diff               @@
##           main-7.0.x   #12548      +/-   ##
==============================================
+ Coverage       83.13%   83.23%   +0.09%     
==============================================
  Files             922      922              
  Lines          261187   261183       -4     
==============================================
+ Hits           217147   217385     +238     
+ Misses          44040    43798     -242     
Flag Coverage Δ
fuzzcorpus 64.23% <ø> (+0.25%) ⬆️
suricata-verify 63.47% <ø> (-0.01%) ⬇️
unittests 62.37% <ø> (+<0.01%) ⬆️

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

@suricata-qa
Copy link

WARNING:

field baseline test %
SURI_TLPR1_stats_chk
.uptime 628 651 103.66%

Pipeline 24671

This was referenced Feb 10, 2025
@victorjulien
Copy link
Member

Merged in #12557, thanks!

@jlucovsky jlucovsky deleted the 7468/2 branch February 15, 2025 14:48
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.

3 participants