Ethereal-dev: Re: [ethereal-dev] filters for ethereal?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Eric A. Hall" <ehall@xxxxxxxxx>
Date: Thu, 10 Dec 1998 18:45:16 -0800
> Instead of interpreting a text definition, wouldn't it be better to
> have decoders as dinamic loading pre-compiled modules ?  I can not
> imagine a newbie creting a decoder module, anyway.  And having
> some example sources would help.  Maybe every decoder could be a
> dynamic loaded module for more generalization.

This is probably the best approach. Provide a struct from the packet and
ask for a struct back. My C is not so bad that I couldn't write a simple
decoder for a simple protocol like Ident or Finger in that environment.
Would be great to have a couple of modules to start with/look at before
trying to write my own. Maybe one for POP and another for HTTP would be
enough to show enough complexity (since POP is chatty and HTTP has
binary transfer, the two are at opposite ends).

-- 
Eric A. Hall                                            ehall@xxxxxxxxx
+1-650-685-0557                                    http://www.ehsco.com