Ethereal-dev: Re: [Ethereal-dev] one question about UMTS RANAP decoder

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 22 Aug 2005 01:23:25 -0700
chao_zhao@xxxxxxxxxxx wrote:

Before I thought that Ethereal used one ASN.1 compiler like some
commercial ASN.1 compilers to generate C/C++ source code which hold
Encode/Decode functions.

It doesn't.

Some dissectors for ASN.1-based protocols were written before Tomas Kukosa wrote asn2eth; those dissectors were written by hand, rather than being generated from an ASN.1 specification by an ASN.1 compiler.

Now, most *new* dissectors for ASN.1-based protocols are compiled by Ethereal's asn2eth compiler, and some of the older dissectors are being replaced by dissectors generated by asn2eth.

What I really want is one ASN.1 compiler to
compile UMTS RRC(25.331) which is encoded in UNALIGNED PER in ASN.1 and
UMTS NBAP(25.433) which is encoded in ALIGNED PER in ASN.1 to C/C++
source code.I want to deal with these two protocols based on Ethereal in
offline mode.Now seeking around for one adoptable ASN compiler.

Do you have any suggestion?

I'm not sufficiently familiar with asn2eth, or with RRC or NBAP, to say whether asn2eth is capable of handling those protocols. Perhaps somebody else on ethereal-dev knows.

Some documentation on asn2eth can be found at

	http://wiki.ethereal.com/Asn2eth