This is a largely incomplete Wireshark parser for OpenFlow 1.5. I started it as an excuse to get exposed to Lua, and because I found myself often struggling with the dissector which can be automatically generated using LoxiGen.
Right now only few messages are parsed, and I am picking which ones I'll be implementing next on a per-need basis.
- Make sure Wireshark is compiled
--with-luasupport and that it can be run without root permissions - Download this code
- Copy the main file
openflow_lua.luain the Wireshark plugin folder - Export the
LUA_PATHto include the path to the folder where the originalopenflow_lua.luais located. For Lua>=5.2 this environment variable would look something like this:
export LUA_PATH_5_2=/home/myname/wireshark_openflow_dissector/?.lua