Project

General

Profile

Actions

Bug #4202

closed

Wrong stream side after direction change

Added by Philippe Antoine over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Affected Versions:
Effort:
Difficulty:
Label:
Needs backport to 5.0, Needs backport to 6.0

Description

TCP stream objects may be swapped during protocol detection while opposing stream packet is being processed.
So the stream level functions try to insert this packet segment into the wrong stream after the detection phase.
It results either in StreamTcpReassembleHandleSegmentHandleData error or in packet data insertion to a wrong direction stream.

https://github.com/OISF/suricata/pull/4956


Related issues 2 (0 open2 closed)

Copied to Suricata - Bug #4309: Wrong stream side after direction changeClosedVictor JulienActions
Copied to Suricata - Bug #4310: Wrong stream side after direction changeClosedVictor JulienActions
Actions

Also available in: Atom PDF