Ethereal-dev: Re: [Ethereal-dev] patch to M3UA to call MTP3 dissector even when !tree

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

From: Jeff Morriss <jeff.morriss@xxxxxxxxxxx>
Date: Mon, 27 Jan 2003 17:02:42 -0500
Hi Michael,

If I load a sample capture file (actually 'snoop' output from one of our testers) like this (without a preferences file for the moment):

./ethereal -omtp3.standard:ITU -om3ua.version:"Internet Draft version 5" -r snoop.out.gz

the Protocol field says "M3UA" and I don't see (SCCP) UDTs in the Info column.

If I then add a filter (e.g., "m3ua" or "mtp3") the Protocol column gets set to SCCP and I see UDTs in the Info column. (Also the protocol tree lists MTP3, SCCP, etc.)

Regards,
-Jeff

Michael Tuexen wrote:
Hi Jeff,

I have a capture file with version 05 M3UA in it. When I load it without any display
filter all upper layers (up to SCCPMGT) are displayed.

Could you tell me under which condition the current version of the M3UA dissector does not work, i.e. does not see the upper layer. thank you very much for the
clarification.

Best regards
Michael
On Monday, Jan 27, 2003, at 21:24 Europe/Berlin, Jeff Morriss wrote:


Hi list, hi Michael,

Right now MTP3 (and higher protocols) only get dissected on version -05 and -06 M3UA messages if there is a filter.

Here's a patch to the M3UA dissector which pushes down the "if (!tree)" evaluation so that the MTP3 dissector will be called even when 'tree' is NULL (e.g., when there is no filter).

Regards,
-Jeff

--
Jeff Morriss
Senior Software Support Engineer
Ulticom, Inc.
Helpdesk: +1-856-787-2765
Fax: +1-856-222-9947
<packet-m3ua.c.patch.gz>





--
Jeff Morriss
Senior Software Support Engineer
Ulticom, Inc.
Helpdesk: +1-856-787-2765
Fax: +1-856-222-9947