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

Hello, I have a Wireshark plugin here working properly for Wireshark 1.7. On Wireshark 1.8, I get some dissection errors. I know that plugins are usually not compatible with Wireshark versions they were not compiled for. So, I decided to recompile my plugin. I have a Linux system where the stuff is supposed to run. Now, what does it exactly mean to compile the plugin for another version of Wireshark? What changes are actually required? Is it about changing the source code itself or about changing the environment somehow, or both?

Kind regards Ewgenij

asked 13 Nov '12, 02:25

Ewgenijkkg's gravatar image

Ewgenijkkg
668915
accept rate: 60%


You need to put your plugin sources in the source tree of 1.8 and recompile, if the API has changed that recompilation may fail and you need to update the API.

permanent link

answered 13 Nov '12, 04:52

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

So, the only thing I have to do is to put my plugin folder to wireshark/plugins and execute make inside my plugin folder. And if it would not output any errors then I'm finished. Right? :)

(15 Nov '12, 02:43) Ewgenijkkg

If you keep in mind that plugins are compiled against the EPAN dissector interface and uses the EPAN header files several changes come to mind:

  • changed / new function signatures
  • changed types / enums

Therefore porting your plugin source requires a new build environment and, depending on the functions / types used, changes to your source code. There's no delta document listing these changes, watch your compiler output for hints.

permanent link

answered 13 Nov '12, 04:55

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×173
×41
×29
×6
×1

question asked: 13 Nov '12, 02:25

question was seen: 2,163 times

last updated: 15 Nov '12, 02:43

p​o​w​e​r​e​d by O​S​Q​A