Project

General

Profile

Actions

Bug #9463

open
VJ VJ

stream/inline: retransmission handling issue

Bug #9463: stream/inline: retransmission handling issue

Added by Victor Julien 1 day ago. Updated 1 day ago.

Status:
In Review
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Summary

In IPS mode StreamTcp rewrites a retransmitted segment in place from the
stored stream data, so the forwarded packet matches the inspected stream.
When the stream base has advanced past the head of the overlapping segment,
StreamTcpInlineSegmentReplacePacket() copies from an offset derived from
the segment's original sequence number, not from base_seq. The forwarded
payload can then differ from what was inspected.

Impact

A retransmit that starts at or after base_seq and overlaps a stored
segment whose head was pruned is rewritten from the wrong stream offset
(shifted by base_seq - seg->seq bytes). In IPS mode this forwards payload
bytes that were not inspected in that position. No crash.


Subtasks 1 (1 open — 0 closed)

Bug #9464: stream/inline: retransmission handling issue (8.0.x backport)AssignedVictor JulienActions

OT Updated by OISF Ticketbot 1 day ago Actions #1

  • Subtask #9464 added

OT Updated by OISF Ticketbot 1 day ago Actions #2

  • Label deleted (Needs backport to 8.0)

VJ Updated by Victor Julien 1 day ago Actions #3

  • Status changed from In Progress to In Review
Actions

Also available in: PDF Atom