Ticket #396 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.

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