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] Adding own dissector to the asn1.dll

From: Petr Kovář <petr_kovar@xxxxxxxxxx>
Date: Tue, 02 Mar 2010 11:27:19 +0100
Thank you very much. Using the generated C sources from ASN.1 sounds like a good way to achieve what I need. I'll try it.

Kind regards,
Petr

______________________________________________________________
> Od: "Anders Broman" <anders.broman@xxxxxxxxxxxx>
> Komu: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
> Datum: 02.03.2010 11:06
> Předmět: Re: [Wireshark-dev] Adding own dissector to the asn1.dll
>
>-----Original Message-----
>From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Petr Kovár
>Sent: den 2 mars 2010 10:48
>To: Developer support list for Wireshark
>Subject: Re: [Wireshark-dev] Adding own dissector to the asn1.dll
>
>
>>Thanks, Anders, for your reply. The page http://wiki.wireshark.org/ASN1_plugin is missing information about >development under Windows platform.
>>
>>I've compared now the contents of the development  and non-development version of Wireshark and it seems the >asn.1 dissectors are included in the libwireshark.dll, because their names are included in this library, and the >asn1.dll itself serves only for general processing of the ASN.1 procotols. Is this a true assumption ?
>>
>> If yes, how is it possible then to export asn.1-based  dissector out from Wireshark development version ?
>>
>>Thanks, P.
>>
>
>I'm not sure I understand the questions but:
>The asn1 plugin is sort of abandoned and I don't know if any one uses it any longer it's years since I looked at it last but I think you may have needed another
>Tool to process your ASN1 files and you would only get some basic dissection out of it for BER encoded protocols.
>
>If you need your ASN1 based protocol as a plugin the simple way of doing it is to generate the the .c and possible .h files copy them to
>Your private plugin directory and create all the needed "suport" files makefiles etc as any plugin would need.
>
>Regards
>Anders
>
>
>______________________________________________________________
>> Od: "Anders Broman" <anders.broman@xxxxxxxxxxxx>
>> Komu: Developer support list for Wireshark > <wireshark-dev@xxxxxxxxxxxxx>
>> Datum: 02.03.2010 10:45
>> Předmět: Re: [Wireshark-dev] Adding own dissector to the asn1.dll
>>
>>Hi,
>>I assume you are refering to the asn1 plugin that is NOT used for >dissectors developed with asn2wrs. Recently this Wiki page was added http://wiki.wireshark.org/ASN1_plugin which might help you. I haven't tried it.
>>Regards
>>Anders
>>
>>-----Original Message-----
>>From: wireshark-dev-bounces@xxxxxxxxxxxxx >[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Petr Kovár
>>Sent: den 2 mars 2010 09:32
>>To: wireshark-dev@xxxxxxxxxxxxx
>>Subject: [Wireshark-dev] Adding own dissector to the asn1.dll
>>
>>
>>Dear colleagues,
>>
>>I need to help with adding my own ASN.1-based dissector to the ASN.1 library asn1.dll. I've followed instructions from http://wiki.wireshark.org/Asn2wrs, but after copying asn1.dll to non-development version of Wireshark, there are present other ASN.1 protocols, but not mine. Is necessary to export anything else with the dll ?
>>
>>Thanks, Petr
>>___________________________________________________________________________
>>Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>>Archives:    http://www.wireshark.org/lists/wireshark-dev
>>Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>             >mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>>___________________________________________________________________________
>>Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>>Archives:    http://www.wireshark.org/lists/wireshark-dev
>>Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>             >mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>>
>___________________________________________________________________________
>Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>Archives:    http://www.wireshark.org/lists/wireshark-dev
>Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>___________________________________________________________________________
>Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>Archives:    http://www.wireshark.org/lists/wireshark-dev
>Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>