Ethereal-dev: Re: [Ethereal-dev] Need help with protocol that spans multiple TVBs

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: Sat, 19 Jun 2004 18:10:32 -0700
On Tue, Apr 13, 2004 at 07:18:31AM +0000, Sid Sid wrote:
> >The problem is that the COTP reassembly code, in effect, assumes that the
> >TPDU number for the first segment of a segmented TPDU has a TPDU number
> >of 0, the next one has a TPDU number of 1, and so on.
> 
> I'm affraid the COTP reassembly code does not work correctly this way.
> Please,have a look to attached trace file.
> First, I don't think it is correct to assemble frame 4 and 8. Both frames 
> are completed(not segmented) but reassembly code has decided to glue 
> frames.Probably, reason is that frame 4 has TPDU number 0 and frame 8 has 
> TPDU number 1.
> Second, frame 6(TPDU number 0 and not segmented) has been inserted in 
> segment list along with segmented frames 10,12,14,16(TPDU numbers are 
> 1,2,3,4)

That one's also fixed by my recent checkin.