Ethereal-dev: Re: [Ethereal-dev] bug with TCP relative sequence numbers and tcp desegment.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 14 Oct 2002 23:01:46 -0700
On Sun, Oct 13, 2002 at 11:00:55PM +0000, didier wrote:
> Hi
> A small trace with an error when:
> TCP relative sequence is set.
> DSI desegment set.
> 
> cf frame 6 and frame 8.
> 
> Src ip and dst ip addr are the same.

...which means that the TCP reassembly code should, arguably, use both
the addresses *AND* the port numbers when looking up stuff, although
that means it couldn't just use "fragment_add()".

Another possibility would be to have the TCP reassembly code always use
absolute sequence numbers; it might also make sense to have it *display*
both the absolute and relative sequence numbers (and ack numbers and
next sequence numbers) if relative port numbers are requested.