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

Batch backports to master-5.0.x #6386

Closed
wants to merge 10 commits into from

Conversation

jlucovsky
Copy link
Contributor

Continuation of #6384

This PR contains backports for the issues listed below

Link to redmine ticket:

Describe changes:

#suricata-verify-pr:
#suricata-verify-repo:
#suricata-verify-branch:
#suricata-update-pr:
#suricata-update-repo:
#suricata-update-branch:
#libhtp-pr:
#libhtp-repo:
#libhtp-branch:

inashivb and others added 10 commits September 17, 2021 09:20
As is done already in C
cf commit ea09361

(cherry picked from commit 5ec9688)
Ticket: OISF#4558
Avoids intra structure overflow

(cherry picked from commit 126a7dc)
Ticket: OISF#4558
So as to avoid intra-structure overflow

(cherry picked from commit 44bd316)
When tracking data track the size of the blocks so that in case
of gaps we can still know how much data we hold.

(cherry picked from commit be1baa8)
For size limit checks consider only available data at the stream start
and before any GAPS.

The old check would consider too much data if there were temporary gaps,
like when a data packet was in-window but (far) ahead of the expected
segment.

(cherry picked from commit 7a114e5)
To take TCP window into account
And to actually bail out if we received too much data
where the limit is configured by stream.reassembly.depth

(cherry picked from commit f77b027)
So that CI does not fail, if suricata PR got upgraded in a new
version, but S-V PR did not get upgraded, and S-V changed
in master

(cherry picked from commit 3e81d20)
@jlucovsky
Copy link
Contributor Author

Continued in #6388

@jlucovsky jlucovsky closed this Sep 17, 2021
@jlucovsky jlucovsky deleted the batch-5.0.x/2 branch September 28, 2021 12:40
jmtaylor90 added a commit to jmtaylor90/suricata that referenced this pull request Oct 11, 2023
Ticket: OISF#6386

Signed-off-by: jason taylor <[email protected]>
victorjulien pushed a commit to victorjulien/suricata that referenced this pull request Oct 16, 2023
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.

4 participants