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

Updated by Victor Julien over 3 years ago

  • Label deleted (Needs backport to 4.1)
Actions #2

Updated by Jeff Lucovsky over 3 years ago

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

Updated by Jeff Lucovsky over 3 years ago

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

Updated by Victor Julien over 3 years ago

  • Target version changed from 6.0.2 to 7.0.0-beta1
Actions #5

Updated by Philippe Antoine about 3 years ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF