This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How to make my dissector relevant to other versions

0

Hey, I built a dissector for my WireShark version (after doing all that steps of installing cygwin etc. for building WireShark). Now, my dissector works only on my build of WireShark (ver 1.9 ... ), and not on, lets say, the newest WireShark version 1.8.4 that I can download from www.wireshark.org.

I saw that it is possible to create an installer of my version, which I can spread, and then my dissector will also work for others...

But I wanted to ask if it possible some how, by changing the version some where, to make my dissector relevant for other/older versions of WireShark which are official releases.

Thanks ahead.

edit: I tried downloading 1.8 source, building it, then building my dissector... but the official 1.8 release doesn't recognize it:

"Couldn't load module C:\Program Files\Wireshark\plugins\1.8.3\mydissector.dll: `C:\Program Files\Wireshark\plugins\1.8.3\mydissector.dll': %1 is not a valid Win32 application."

asked 06 Dec '12, 10:26

hudac's gravatar image

hudac
61111317
accept rate: 50%

edited 09 Dec '12, 02:04


One Answer:

2

plugins are only guaranteed to work with the version of Wireshark they are compiled with as we haven't comitted to a stable API yet. If yo want your plugin to work with 1.8 you will have to download the 1.8 sources and complie your plugin against that version.

answered 06 Dec '12, 11:06

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

What is the most recent svn revision for 1.8 sources?

(06 Dec '12, 11:18) SidR
1

You can check it out from here I think http://anonsvn.wireshark.org/wireshark/trunk-1.8/ or use a tarball of the latest release.

(06 Dec '12, 11:22) Anders ♦

I'm sorry for the ignorance but what is tarball ?

(06 Dec '12, 11:39) hudac

Hey, I tried it and it didn't work. I downloaded 1.8 source and built it, then built my dissector... but the official 1.8 release doesn't recognize it:

"Couldn't load module C:\Program Files\Wireshark\plugins\1.8.3\mydissector.dll: `C:\Program Files\Wireshark\plugins\1.8.3\mydissector.dll': %1 is not a valid Win32 application."

(09 Dec '12, 00:18) hudac