Wireshark-dev: [Wireshark-dev] New Lua plugin for libwireshark

Date Prev · Date Next · Thread Prev · Thread Next
From: João Valverde <j@xxxxxx>
Date: Mon, 6 Jun 2022 14:39:56 +0100
Hi,

I created a new plugin implementing a new Lua API for Wireshark: https://gitlab.com/jvalverde/wireshark-lua-plugin

Goals include (from the README):
 * Better Lua API
* Better C code
* Better unit testing framework
* Better user documentation
* Fix some design flaws and limitations with Lua support in Wireshark 3.6
* Modernize the version of Lua used with Wireshark 3.6

It is pretty usable already to write dissectors in Lua IMO but it only covers a limited part of the libwireshark API at the moment. Also things like taps and passing values between C and Lua are quite difficult to implement properly but I may look into it in the future.

Documentation: https://jvalverde.gitlab.io/wireshark-lua-plugin/

Example:https://jvalverde.gitlab.io/wireshark-lua-plugin/examples/ipv6.lua.html

I don't have much else to say, other than it is pretty awesome, so check it out.

Feel free to report bugs, ask questions or submit feature requests.

Have fun.