Wireshark-dev: Re: [Wireshark-dev] ASN.1-based dissector decoding by port number vs switch/case

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 22 Jun 2021 18:44:10 -0700
On Jun 22, 2021, at 6:33 PM, Vincent Randal <vtrandal@xxxxxxxxx> wrote:

> We are using PER per the foo example (Simple ASN.1-based dissector). Wow, I never about all these different encodings.
> 
> Maybe we should be using something other than PER? We think we like PER because the dissected values agree with what we can see in the raw UDP data.

You should be using whatever encoding the protocol is using.

Is this a protocol for which you have an ASN.1 specification plus an indication of the encoding being used, or is this something you're reverse-engineering?