Ethereal-dev: Re: [Ethereal-dev] Some observation WRT the LDAP dissector

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, 14 Nov 2005 16:53:19 -0800 (PST)
Richard Sharpe wrote:
> - The displayed LDAP messages do not really follow the structure of an
> LDAP message according to the RFC. For example, RFC2251 says:

    ...ASN.1 specification...

    ...

> Now, while I wouldn't expect this to be the default way to view the filter
> expression, it would be nice, I think, if the data was there so we could
> switch into a mode where all the ASN.1 encoded data could be explained.

If the LDAP dissector were rewritten to be generated from the ASN.1
specification (and some other stuff in the -template.c and .cnf files) by
asn2eth, that would address the last of those two items (asn2eth-generated
dissectors use the packet-ber.c routines to handle BER, and there's a
preference for that dissector to control whether to display all the BER
encoding information).

It might also display LDAP messages in a fashion that better shows the
structure as per the ASN.1 specification (and it might address some of
your other issues).

In addition, it would eliminate one of the remaining dissectors still
using the old asn1.c code (the remaining ones would be ANSI MAP, SNMP for
stuff other than variable bindings, and the "generic ASN.1" plugin).