Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If the long term goal is to contribute the code to Wireshark then it will need to be in C/C++ to be supported.
The Developer Guide suggest starting out as a plugin:
"The big benefit of writing a dissector as a plugin is that rebuilding a plugin is much faster than rebuilding wireshark after editing a built-in dissector. As such, starting with a plugin often makes initial development quicker, while the finished code may make more sense as a built-in dissector."

If it's only for your own use it can be done as a plugin but you have the option of using Lua:
From the User's Guide:
"Wireshark supports plugins for various purposes. Plugins can either be scripts written in Lua or code written in C or C++ and compiled to machine code."

If the long term goal is to contribute the code to Wireshark then it will need to be in C/C++ to be supported.
The Developer Guide suggest suggests starting out as a plugin:
"The big benefit of writing a dissector as a plugin is that rebuilding a plugin is much faster than rebuilding wireshark after editing a built-in dissector. As such, starting with a plugin often makes initial development quicker, while the finished code may make more sense as a built-in dissector."

If it's only for your own use it can be done as a plugin but you have the option of using Lua:
From the User's Guide:
"Wireshark supports plugins for various purposes. Plugins can either be scripts written in Lua or code written in C or C++ and compiled to machine code."