Is it possible to set the version number for a Lua dissector so that is will show up in the Help | About on the Plugins page? Is there a different mechanism that can be used for Lua dissectors? Thanks, Frank asked 19 Jun '15, 09:00 flomby |
2 Answers:
example in Lua-script:
C-code from wirshark source:
Copy-pasted from: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob;f=epan/wslua/wslua_util.c;h=4175c0f170fd3ed87392e0dc6a9df200803f610a;hb=23163520ad2a96aa9c22ebae8f3fcc91e93d2461 which in turn is from: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=23163520ad2a96aa9c22ebae8f3fcc91e93d2461 answered 03 May ‘16, 03:44 KamratKalasson |
I'd suggest installing and checking out cloudshark wireshark plugin (written in lua) https://support.cloudshark.org/wireshark-plugin/using-the-wireshark-plugin.html And then when you have it installed have a look at their source code. They've added their own menu, preferences settings and their own about window. answered 19 Jun '15, 09:04 izopizo edited 19 Jun '15, 09:04
But they should also do what @KamratKalasson suggested, so that the plugin's version number etc. show up in Wireshark's About window. I'll look at fixing that and making a pull request. (03 May '16, 15:48) Guy Harris ♦♦ |
There is no such thing available right now (though you can make your own as izopizo points out in the answer), but it's not a bad idea to add such functionality in a future Wireshark. So I've added it to bugs.wireshark.org.