Ethereal-users: Re: [Ethereal-users] Encoding ASN.1

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: Thu, 16 Jun 2005 10:02:18 -0700
Anguelov,Anguel wrote:

I need to encode some ASN.1 Packets with Ethereal.
I assume you mean "decode".

ASN.1 is not recognized automatically by Ethereal.
As Ronnie Sahlberg notes, ASN.1 isn't a protocol, it's an encoding 
mechanism used by many protocols (just as XDR and DCE RPC NDR aren't 
protocols, they're encoding mechanisms used by protocols such as ONC RPC 
and DCE RPC, respectively).
Presumably the packets you're trying to decode use some protocol that 
uses ASN.1 encoding; if Ethereal already has a dissector for it, you 
should try using "Decode as..." to decode the packet as that protocol, 
and if it doesn't have a dissector for it, you'll have to write one and 
add it to Ethereal or get somebody else to do so.