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

Hi, I had followed the steps mentioned in 9.2.1 section in the following link http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html and written "myprotocol.c" code to identify my own protocol. Next I want use it as plugin. Can anyone help me to compile "myprotocol.c" into ".dll" file for my Windows wireshark?

Thanks in Advance..

asked 11 Nov '11, 16:56

JK7's gravatar image

JK7
31111214
accept rate: 0%

edited 12 Nov '11, 13:05

cmaynard's gravatar image

cmaynard ♦♦
9.3k1038142


README.plugins should help.

permanent link

answered 12 Nov '11, 13:03

cmaynard's gravatar image

cmaynard ♦♦
9.3k1038142
accept rate: 20%

Have you followed the Developers Guide and set up your toolchain to build? Firstly make sure you can compile Wireshark without any changes, and then add your changes.

The example in the Developers Guide does build a plugin dissector, so should be good for you.

permanent link

answered 12 Nov '11, 00:10

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

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:

×637
×254
×173

question asked: 11 Nov '11, 16:56

question was seen: 10,333 times

last updated: 12 Nov '11, 13:05

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