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

detect/csum: rm interaction btw stream setting/csum #12482

Closed
wants to merge 2 commits into from

Conversation

jlucovsky
Copy link
Contributor

@jlucovsky jlucovsky commented Jan 26, 2025

Continuation of #12479

Issue: 7467

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/7467

Describe changes:

  • During stream checksum validation checks, no longer set PKT_IGNORE_CHECKSUM

Updates:

  • Typo fixup in upgrade notes

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#2258
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.
Describe the change of behavior between the stream.checksum-validation
setting and checksum-based rule keywords.
Copy link

codecov bot commented Jan 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.43%. Comparing base (d63ad75) to head (a83eeb2).
Report is 20 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12482      +/-   ##
==========================================
- Coverage   80.52%   80.43%   -0.10%     
==========================================
  Files         923      923              
  Lines      259176   259172       -4     
==========================================
- Hits       208708   208455     -253     
- Misses      50468    50717     +249     
Flag Coverage Δ
fuzzcorpus 56.15% <ø> (+0.08%) ⬆️
livemode 19.38% <ø> (-0.03%) ⬇️
pcap 44.24% <ø> (+0.04%) ⬆️
suricata-verify 63.11% <ø> (-0.22%) ⬇️
unittests 58.45% <ø> (+<0.01%) ⬆️

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 24365

@victorjulien victorjulien added this to the 8.0 milestone Jan 27, 2025
@victorjulien
Copy link
Member

Merged in #12499, thanks!

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