I was thinking about that too.
I needed the direction to properly decode some messages further up
the stack, such as GSM RP messages (part of SMS), i.e. A-interface stuff.
I have a proprietary protocol that runs just under SCCP (basically a
TCP transport) but I can actually use a port number in that protocol.
So MTP3 is probably better, my only other question would be about M3UA.
I suppose the Source PC preference would have to be added to M3UA to
ensure that SCCP/ISUP always have the direction set. Is that true?
> -----Original Message-----
> From: ethereal-dev-bounces@xxxxxxxxxxxx
> [mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Jeff Morriss
> Sent: Tuesday, December 09, 2003 3:05 PM
> To: Ethereal Development List
> Subject: Re: [Ethereal-dev] MTP3/SCCP patch for OPC/DPC, and epan
> changesfor AT_SS7PC
>
>
>
>
> Michael Lum wrote:
>
> > cvs diff -u from latest source:
> >
> > packet_info.h.diff
> > New AT_SS7PC
> >
> > to_str.c.diff
> > Call to address format routine for AT_SS7PC
> >
> > packet-mtp3.h.diff
> > packet-mtp3.c.diff
> > Code for setting net_dst, net_src with AT_SS7PC
> >
> > packet-sccp.c.diff
> > Code for setting direction in pinfo from preference and
> net_src/net_dst
>
> Cool...
>
> One question: should the setting of the direction be an MTP3 preference
> instead of SCCP? That way the direction would be correct even for, say,
> ISUP traffic.
>
> (I can submit a patch for this; I just figured I'd ask the
> question first.)
>
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev