Wireshark-dev: Re: [Wireshark-dev] Including ASN.1 format coding in a C dissector
From: "Anders Broman" <[email protected]>
Date: Thu, 12 Apr 2007 23:18:21 +0200


You can use text2pcap but you still need to code the message your self unless you have some sample

Messages you can paste together. Like RANAP messages from some other trace with the IE:s your after.

Best regards



Från: [email protected] [mailto:[email protected]] För [email protected]
Skickat: den 12 april 2007 08:02
Till: [email protected]
Ämne: Re: [Wireshark-dev] Including ASN.1 format coding in a C dissector


Hi Anders,


Thanks for the information. The dissector is propreitary , hence I cant include it in Wireshark.


I will include RANAP messages in the way you have mentioned.

But then , I will have a tough time forming packets for testing . Any clue how can I form the packets.


Thanks in advance.





From: Taraniteja Vishwanatha (WT01 - IP-Multimedia Carrier & Ent Networks)
Sent: Wednesday, April 11, 2007 5:40 PM
To: '[email protected]'
Subject: Including ASN.1 format coding in a C dissector


Hi ,


I have written  a dissector for a protocol which has a coding standard of Tag-Length-Value. Now in this dissector , I have to add some messages of RANAP protocol which has a coding standard in ASN.1 format.Already the dissector for RANAP is available in the wireshark. Now:


1.Can I call the existing dissector for those particular messages??? If so how do I do that??

2. If I want to include it normally in my dissector, how can I convert the ASN.1 format to obtain the tag and lengths of  individual parameters??


Can anybody please help??



The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.