ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Ordinary LUA dissector.

From: "Robert G. Jakabosky" <bobby@xxxxxxxxxxxxxxx>
Date: Thu, 3 Nov 2011 21:16:24 -0700
On Wednesday 02, Eliot Blennerhassett wrote:
> Getting started writing a dissector plugin in lua, I found the examples
> on the wiki to be rather esoteric.  Only having previously written a
> plugin in C gave me any idea where to start.
> 
> Is there any interest in including a more "ordinary" dissector example
> on the wiki, or with the wireshark install for that matter?
> 
> Here is a working example, however I've no idea if it is best-practice
> implementation...

Here is a Lua dissector that I wrote, it could be used as another example.
http://opensimulator.org/wiki/LLUDP_Dissector

It is released under the BSD license.

Also for people that want to make Lua dissectors may want to checkout this 
patch that I submitted:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5575

-- 
Robert G. Jakabosky