Ethereal-dev: [Ethereal-dev] Asn.1 and indefinite length.

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

From: "Yuriy Sidelnikov" <YSidelnikov@xxxxxxxx>
Date: Fri, 20 May 2005 13:28:40 +0400
Hi,
analyzing some new ftam trace files I found that the indefinite length in the ASN.1 is not so rare thing as I thought.
So I would like to have correct ASN.1 API.
The question is that neither obsolete asn1.c nor new packet-ber.c can handle with the indefinite length in asn.1 stream.
So what is the better:
1.Add support for the indefinite length say "over" asn1.c.It is not very hard so we'll have working dissector pretty soon.Really I need only one thing more - to get correct length in case of the indefinite length. 2.Try to use new api in the packet-ftam/acse/pres keeping in mind that somebody will be so kind to add the support for the indefinite length. It's not very easy way to go.
Regards,
Yuriy Sidelnikov.

............................................................. пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅ-пїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅ пїЅпїЅпїЅ пїЅпїЅпїЅ: http://web.sema.ru/