Project

General

Profile

Bug #4202

Wrong stream side after direction change

Added by Philippe Antoine 7 months ago. Updated 4 months 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

Copied to Bug #4309: Wrong stream side after direction changeClosedVictor JulienActions
Copied to Bug #4310: Wrong stream side after direction changeClosedVictor JulienActions
#1

Updated by Victor Julien 7 months ago

  • Label deleted (Needs backport to 4.1)
#2

Updated by Jeff Lucovsky 5 months ago

  • Copied to Bug #4309: Wrong stream side after direction change added
#3

Updated by Jeff Lucovsky 5 months ago

  • Copied to Bug #4310: Wrong stream side after direction change added
#4

Updated by Victor Julien 4 months ago

  • Target version changed from 6.0.2 to 7.0rc1
#5

Updated by Philippe Antoine 4 months ago

  • Status changed from In Review to Closed

Also available in: Atom PDF