Ask Your Question

install to write plug-in dissector

asked 2020-06-03 17:09:06 +0000

I have Microsoft Visual Studio Community 2017 installed. I would like to do a plug-in dissector for an industrial PLC protocol. At first, I would like to decode a dozen or so commands to see what level of interest there might be. Consequently, I would prefer to not have to install all of the components needed to build Wireshark itself. Is there a subset I can install to create a plug-in using C++?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-06-03 17:18:28 +0000

grahamb gravatar image


Note also that plugins are currently expected to be built using C so using C++ specific constructs in your plugin may or may not work.

You should also note that there is no guarantee of plugin ABI compatibility (e.g. 3.2.x -> 3.4.x) so you get to maintain multiple copies of your plugin for all versions of Wireshark you care to support. This is why it's often easier to contribute your dissector (as a built-in dissector) back to the Wireshark project who will maintain all that for you and distribute your dissector to all at no cost yourself.

Finally note that your plugin will be subject to the Wireshark GPL 2.0 or later licence (as it's linked to Wireshark) so you will have to abide by the licence, in particular your obligations to make the source code available to all those outside your company who receive the plugin.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2020-06-03 17:09:06 +0000

Seen: 34 times

Last updated: Jun 03