Wireshark-dev: Re: [Wireshark-dev] How can I decode ASN.1 as Wireshark does?

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Sun, 2 Mar 2008 18:06:45 +0100

Hi,

I’m not sure what you need but packet-per.c is used to decode the PER encoded stuff but it may not suit your needs.

Another option is to look at openh323.

 

But isn’t building another VoIP analyser reinventing the wheel? Why not work on the VoIP analysis code of Wireshark?

Regards

Anders

 


Från: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] För Abelardo Rodriguez-Trilla
Skickat: den 29 februari 2008 00:13
Till: wireshark-dev@xxxxxxxxxxxxx
Ämne: [Wireshark-dev] How can I decode ASN.1 as Wireshark does?

 

Hi people.

I'm developing a VoIP protocol analyzer for a University educative module, for learning VoIP signalling protocols. I'm working with SIP and H.323. The SIP part is ready, and the Q.931 part of H.323 is also ready. But now I'm having issues with  the ASN.1 enconding of H.225.0 and H.245. I know that first I need to compile the ASN.1 tree to the language of my preference (C in this case), and it is already done. But besides the structures generated by the compiler, now I need to develop the decoding routines, which have to work with the PER alligned rules.

I wanted to know how Wireshark does to decode it?

Thanks in advance.

--
Abelardo Rodríguez-Trilla
"If you really want to do something, you'll find a way; if you don't, you'll find an excuse" Anonymous

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.1/1301 - Release Date: 2008-02-27 08:35


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.21.1/1301 - Release Date: 2008-02-27 08:35