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: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Fri, 20 May 2005 15:46:33 +0200
>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

As far as I know both packet-ber.c and the asn1.c handle at least some
indefinite lengths, what exactly is it you are missing?

Best regards
Anders