Ask Your Question

How can I create plugins for wireshark version 3.4?

asked 2021-05-12 10:51:58 +0000

123 gravatar image

updated 2021-05-12 11:18:01 +0000

I am following this instruction to create environment and build my wireshark: Win32/64: Step-by-Step Guide

But after successfully create wireshark, I realized that the version is 3.5.0. I wanted to create the plugins for the latest version of wireshark which is 3.4.5

So when I put my plugins.dll (create by wireshark 3.5.0 environmnet) into the plugins folder of wireshark version 3.4.5, I got that this plugins is made for wireshark version 3.5

I have tried to see the tutorial again but still do not know what should I do to create plugins for wireshark version 3.4.5

ADD: when I run wireshark ver 3.5.0 to see if my plugins appear, I got this error: Dissector bug: ..\proto.c:8835: failed assertion "DISSECTOR_ASSERT_NOT_REACHED". I do not know what is the problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-05-12 11:21:12 +0000

grahamb gravatar image

You need to checkout the sources for the 3.4.x branch rather than master, so in your source directory run:

git checkout release-3.4

Note that as the 3rd party libraries may be different from master you might want to set a different directory for those using the env var WIRESHARK-LIB_DIR, e.g. C:\Development\wireshark-3.4-libs.

You should also create a different build directory from that used when building master. You can have multiple build dirs, which you will need to build the x64 and x86 versions of your plugin.

Finally remember the licencing of the Wireshark project which is GPL V2 or later, so if you distribute the plugin outside of your company, you MUST make the source for the plugin available.

edit flag offensive delete link more


Hi, I have installed the version 3.4.5 successfully. But I have another question about the plugins: wireshark seems can not load my plugins, it appears with the error: Dissector bug C:\Development...\proto.c:8790 failed assertion "DISSECTION_ASSERT_NOT_REACHED". Do you know what is the problem?

123 gravatar image123 ( 2021-05-12 12:48:09 +0000 )edit

@123, you should create another question for that.

grahamb gravatar imagegrahamb ( 2021-05-12 14:28:34 +0000 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2021-05-12 10:51:58 +0000

Seen: 406 times

Last updated: May 12 '21