Ethereal-users: Re: [Ethereal-users] V0.10.5 & 0.10.6 Crash On startup with Win98

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: Mon, 27 Sep 2004 11:21:20 -0700
Laurent HAAS wrote:

One question : Where to get information to write its own "protocol decoder" ? Does it have to be embedded in Ethereal itself or can we use a plugin for that ?

It can be a plugin - that's what the "ASN.1" dissector (the one that causes crashes; I checked in a fix for some null pointer dissection problems in that dissector that *might* have been the problem causing the crashes, so there *might* be a fix in the next release).

Where can I find a skeleton or a sample code for that ?

Download the Ethereal source and look at the "README" files in the "doc" directory as well as some of the "packet-" source files in "epan/dissectors" and the subdirectories of "plugins".