Ethereal-dev: Re: [Ethereal-dev] SMPP: Multiple PDU's within one TCP packet

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

From: Chris Wilson <chris@xxxxxxxxxxxxx>
Date: Sun, 18 Jan 2004 12:16:23 +0000
On Sun, 18 Jan 2004 03:52:23 -0800
Guy Harris <guy@xxxxxxxxxxxx> wrote:

> On Sun, Jan 18, 2004 at 11:42:15AM +0000, Chris Wilson wrote:
> > > 	1) some other dissectors for protocols running atop TCP put
> > > 	   separate top-level subtrees into the protocol tree for each
> > > 	   packet, rather than having a single tree with all the packet
> > > 	   under it;
> > 
> > Can you give me an example of a dissector that does this?
> 
> The BGP dissector does it - as do dissectors that use
> "tcp_dissect_pdus()".
> 
> > Given that SMPP might well have a subdissector how should it be
> > displayed?:
> > 
> > IP
> > TCP
> > SMPP PDU1
> > SMS UD (for SMS in PDU1)
> > WSP (for SMS in PDU1)
> > SMPP PDU2
> > SMS UD (for SMS in PDU2)
> > WSP (for SMS in PDU2)
> 
> Yes.  That's how it'd be done with, for example, SMB - and that just
> falls out of the way dissection works.

Ok - I'll make things work that way. I've produced a couple of example captures (attached) showing multiple PDUs in a packet and also PDUs split across packets (with a loopback MTU of 200 :-).

I'll include some better captures (containing multipart 7bit & WAP Pushes) when I submit a patch.

Cheers,

Chris

Attachment: smpp-test1.libpcap.gz
Description: Binary data

Attachment: smpp-test2.libpcap.gz
Description: Binary data