Ethereal-dev: Re: [Ethereal-dev] Error in TCP/TPKT desegmenting

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

From: David Frascone <dave@xxxxxxxxxxxx>
Date: Mon, 29 Jul 2002 08:59:15 -0500
Please, if you're going to attach capture files, compress them.  This 1Mb
file compressed down to 71k with bzip2:

newman[chaos]: chaos$ ls -l desegment_err.cap 
-rw-------    1 chaos    chaos     1020305 Jul 29 08:56 desegment_err.cap
newman[chaos]: chaos$ bzip2 -9 desegment_err.cap 
ls -l desenewman[chaos]: chaos$ ls -l desegment_err.cap.bz2 
-rw-------    1 chaos    chaos       71298 Jul 29 08:56 desegment_err.cap.bz2
newman[chaos]: chaos$

On Monday, 29 Jul 2002, Miodrag Marinkovic wrote:
> Hi,
> 
> I am writing dissectors for OSI protocols.
> For testing purposes, I am using several files which contain packages 
> with TCP, TPKT, COTP and OSI protocols on layers 4-7.
> 
> To exclude eventual errors in my code I am starting Ethereal 
> without my extension. The desegmenting of TCP and TPKT 
> is enabled. But sometimes Ethereal can not display the PDUS properly.
> 
> The PDUs are desegmeted, but the beginning of the PDU is missing!
> Because of that TPKT starts decoding on the PDU part which belongs
> to other protocols!
> 
> The files and preferences are always same, but Ethereal sometimes 
> works OK, sometimes not! I have tried to find a memory access error 
> using Purify. But no errors are reported.
> 
> In the attachment is one of these files. To reproduce the error just
> read the file without any filter. If the error doesn't occur close the file
> and read it again.
> 
> Are where any corrections regarding TCP/TPKT desegmenting 
> planned for the next release?
> 

> ============================================================================
> Miodrag Marinkovic                   WORK;VOICE: + 49 89 636 42347
> Senior System Engineer               WORK;FAX: + 49 89 636 41692
> Siemens Business Services GmbH & Co  PREF;INTERNET: miodrag.marinkovic@mch20
> 
> Additional information:
> 
> Last Name:	Marinkovic
> First Name:	Miodrag
> ============================================================================



-- 
David Frascone

       The road to success is always under construction.