Ticket #396 (closed defect: fixed)

Opened 3 years ago

Last modified 18 months ago

Don't walk off end of IPv6 extension headers for trunc packets

Reported by: aturner Owned by: aturner
Priority: low Milestone: 4.0.0
Component: tcpreplay Version: 3.4.2
Keywords: Cc:
Operating System: Add to FAQ?: no
Hardware: All
Output of tcpreplay -V:

Description

In 3.4.2, the IPv6 support didn't track the length of the packet while traversing the extension headers and hence there is a bug for dealing with truncated packets while looking for the L4 header.

Technically the same issue exists for IPv4 packets with options.

I need to change the internal API to pass the packet length so it can be checked for get_layer4_v4() and get_layer4_v6()

Change History

comment:1 Changed 3 years ago by aturner

(In [2364]) whitespace refs #395 use packet len when traversing IPv4/v6 option/extention headers refs #396

comment:2 Changed 18 months ago by aturner

  • Status changed from new to closed
  • Resolution set to fixed

looks like this bug was fixed.

Note: See TracTickets for help on using tickets.