Skip to content

next/748/70x/20250226/v1#12678

Merged
victorjulien merged 1 commit intoOISF:main-7.0.xfrom
victorjulien:next/748/70x/20250226/v1
Feb 26, 2025
Merged

next/748/70x/20250226/v1#12678
victorjulien merged 1 commit intoOISF:main-7.0.xfrom
victorjulien:next/748/70x/20250226/v1

Conversation

@victorjulien
Copy link
Member

To optimize detection, and logging, to avoid going through
all the live transactions when only a few were modified.

Two boolean fields are added to the tx data: updated_tc and ts
The app-layer parsers are now responsible to set these when
needed, and the logging and detection uses them to skip
transactions that were not updated.

There may some more optimization remaining by when we set
both updated_tc and updated_ts in functions returning
a mutable transaction, by checking if all the callers
are called in one direction only (request or response)

Ticket: 7087
(cherry picked from commit b02557a)
@codecov
Copy link

codecov bot commented Feb 26, 2025

Codecov Report

Attention: Patch coverage is 97.39130% with 3 lines in your changes missing coverage. Please review.

Project coverage is 83.29%. Comparing base (05bf4a8) to head (782f35c).
Report is 1 commits behind head on main-7.0.x.

Additional details and impacted files
@@              Coverage Diff               @@
##           main-7.0.x   #12678      +/-   ##
==============================================
- Coverage       83.30%   83.29%   -0.01%     
==============================================
  Files             922      922              
  Lines          261171   261274     +103     
==============================================
+ Hits           217556   217620      +64     
- Misses          43615    43654      +39     
Flag Coverage Δ
fuzzcorpus 64.36% <97.39%> (+0.02%) ⬆️
suricata-verify 63.52% <82.60%> (-0.02%) ⬇️
unittests 62.35% <45.21%> (-0.01%) ⬇️

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

Copy link
Member

@inashivb inashivb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@suricata-qa
Copy link

ERROR:

ERROR: QA failed on SURI_TLPR1_suri_time.

Pipeline 24900

@ct0br0
Copy link

ct0br0 commented Feb 26, 2025

pretty sure this is just the TLPR1 QA-rebase being a little faster. going to manually adjust it

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 24909

@victorjulien victorjulien merged commit 782f35c into OISF:main-7.0.x Feb 26, 2025
45 checks passed
@victorjulien victorjulien deleted the next/748/70x/20250226/v1 branch February 26, 2025 20:29
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.

6 participants