Wireshark mailing list archives

Re: dynamic generation of dissector


From: "Robert G. Jakabosky" <bobby () sharedrealm com>
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:
http://opensimulator.org/wiki/LLUDP_Dissector

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
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: