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

I have written a simple dissector plugin and now I would like to make port ranges configurable for the user. I have not found how to do this.

Is it possible to have user preferences for a dissector plugin?

/Michael

asked 06 Feb '14, 03:29

michla's gravatar image

michla
11114
accept rate: 0%


Sure, a number of the "standard" plugins do this, e.g. gryphon, mate, opcua, unistim, so you can look at what they do. Opcua is probably closest to what you want. I don't think preferences are any different for plugins as opposed to built-in dissectors.

permanent link

answered 06 Feb '14, 03:42

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

edited 06 Feb '14, 03:43

Thanx, it's exactly what I need

(06 Feb '14, 04:08) michla

If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.

(06 Feb '14, 05:11) grahamb ♦
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
×39

question asked: 06 Feb '14, 03:29

question was seen: 1,091 times

last updated: 06 Feb '14, 05:11

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