Hi,
Would something along these lines be what you want? Note that there is a bit
Of work left to put back all the features of the existing dissector.
Brg
Anders
-----Ursprungligt meddelande-----
Från: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] För Guy Harris
Skickat: den 15 november 2005 01:53
Till: Ethereal development
Ämne: Re: [Ethereal-dev] Some observation WRT the LDAP dissector
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).
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev
Attachment:
ldap.tar.gz
Description: Binary data