Ethereal-dev: [Ethereal-dev] can_desegment and smb transaction patch

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

From: "Pia Sahlberg" <piabar@xxxxxxxxxxx>
Date: Wed, 28 Nov 2001 12:38:53 +0000
Hi list.

Another small patch.

The patch contains two changes:
1,  changes how can_desegment works so that can_desegment is only != 0
for whichever dissector is running immediately ontop of whoever
offers the can_desegment service.
Thus DCERPC needs no special handling to see if it can trust can_desegment (which is currently only available ontop of TCP and not
ontop of tcp->nbss->smb)

2, changes fragment reassembly of transaction smb to only show the defragmented packet for the transaction smb holding the first fragment.
To see why, test it with a transaction SMB containing a ~60kb PDU or larger.
The old behaviour had approximately quadratic behaviour regarding
runtime for dissecting such PDUs.
(example: NetShareEnum is a command which can grow really really large if the number of shares and comments are large)


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Attachment: smb_tcp.patch.gz
Description: Binary data