Ethereal-dev: [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: "Miodrag Marinkovic" <miodrag.marinkovic@xxxxxxxxxxxx>
Date: Mon, 29 Jul 2002 12:35:21 +0200
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?

BEGIN:VCARD
VERSION:2.1
N:Marinkovic;Miodrag
FN:Miodrag Marinkovic
ORG:Siemens Business Services GmbH & Co OHG;MPM CPI
TITLE:Senior System Engineer
TEL;WORK;VOICE:+ 49 89 636 42347
TEL;WORK;FAX:+ 49 89 636 41692
ADR;WORK:;;Otto-Hahn-Ring 6;Munich;;81739;Germany
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Otto-Hahn-Ring 6=0D=0AMunich 81739=0D=0AGermany
URL;WORK:http://www.siemens.com/sbs/en/offerings/services/majorprojects/core_solutions/ee_4quantos.html
EMAIL;PREF;INTERNET:miodrag.marinkovic@xxxxxxxxxxxx
REV:20020729T103521Z
END:VCARD

Attachment: desegment_err.cap
Description: Binary data