Wireshark-dev: Re: [Wireshark-dev] dynamic generation of dissector
From: "Robert G. Jakabosky" <[email protected]>
Date: Wed, 2 May 2012 03:05:36 -0700
On Wednesday 02, Erwin Rol wrote:
> Hey all,
> is there a way to dynamically generate part of a dissector? For example
> reading a database (sqlite/xml/etc.) and use that at run time to
> generate the dissector?
> Are there any dissectors that already do this ?

I wrote a dissector in Lua that reads a text file that describes many 
different message layouts:

It should be possible to use the standard Lua modules for reading a database 
from a Lua dissector.  But I haven't tried that.

Robert G. Jakabosky