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 #12479

Closed
wants to merge 2 commits into from

Conversation

jlucovsky
Copy link
Contributor

Continuation of #12440

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:

  • Clarified upgrade note.

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#2241
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 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.39%. Comparing base (d63ad75) to head (6450d7d).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12479      +/-   ##
==========================================
- Coverage   80.52%   80.39%   -0.14%     
==========================================
  Files         923      923              
  Lines      259176   259172       -4     
==========================================
- Hits       208708   208361     -347     
- Misses      50468    50811     +343     
Flag Coverage Δ
fuzzcorpus 56.06% <ø> (-0.01%) ⬇️
livemode 19.38% <ø> (-0.03%) ⬇️
pcap 44.19% <ø> (-0.01%) ⬇️
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 24359

@jlucovsky
Copy link
Contributor Author

Continued in #12482

@jlucovsky jlucovsky closed this Jan 26, 2025
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