Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] asn2wrs - BER and AUTOMATIC TAGS question

From: "Kukosa, Tomas" <tomas.kukosa@xxxxxxxxxxx>
Date: Tue, 20 Nov 2007 19:41:31 +0100
Hi,
 
unfortunately the asn2wrs does not support AUTOMATIC TAGS now.
The mentioned example is a PER example where tags are not importatnt, i.e. missing AUTOMATIC TAGS support is not a problem.
I am going to implement it but I am not sure when.
 
The only way how it can be solved now is to put tags into asn.1 source manually. 
 
regards,
  Tomas
 

________________________________

Od: wireshark-dev-bounces@xxxxxxxxxxxxx za uživatele Martin Peylo
Odesláno: út 20.11.2007 19:16
Komu: Developer support list for Wireshark
Předmět: [Wireshark-dev] asn2wrs - BER and AUTOMATIC TAGS question



Hi,

I have to create a dissector for a (not that well designed)
proprietary ASN.1 defined protocol. It uses BER for encoding.

It is defined with "AUTOMATIC TAGS" which means that the components of
all constructed types (e.g. SEQUENCEs) are automatically tagged as
CONTEXT-SPECIFIC starting from 0 and increment by one at each
successive component.

When I use my newly created plugin on traces, Wireshark complains e.g.
that it finds 0x80 (first context-specific component) instead of 0x02
(UNIVERSAL INTEGER).

Now my question:
Is there any switch I have to use to dissect this kind of encoding or
is it just not possible so far? The example I found on
<http://wiki.wireshark.org/FooPage> also uses "AUTOMATIC TAGS".

Best regards,
Martin
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev


<<winmail.dat>>