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


I have written few lines of code to dissect tcp options ( ORBITAL_META_OPTION 0x18 Citrix-BR add this option) and it is working perfectly.

I modified packet-tcp.c (wireshark\epan\dissectors\packet-tcp.c)

  • first i added required information in static const ip_tcp_opt tcpopts[] and static hf_register_info hf[]
  • then my own dissector function to dissect ORBITAL_META_OPTION ( 0x18)

But the problem is, if someone want to see these feature he has to use my Wireshark ( compiled by me ).

Now my manager suggested me to write a separate dissector and then DLL ( because DLL can be distributed easily).

Now my final aim is to make a DLL. How should i do ???


asked 29 Aug '11, 23:32

Vikas's gravatar image

accept rate: 0%

edited 30 Aug '11, 12:57

helloworld's gravatar image


Distributing a DLL is easier than a customized Wireshark build, but maintaining a DLL release could be somewhat painful. DLLs must be compiled against a specific Wireshark version. So, a DLL for 1.4.6 won't necessarily run on 1.6.1 (or vice versa), and this version mismatch can cause Wireshark to fail. Every time Wireshark releases a new version, you have to recompile your DLL to ensure compatibility.

Consider writing a dissector with the Wireshark Lua API, which does not have this problem.

(30 Aug '11, 12:56) helloworld

packet-tcp is a built in dissector and can't be replaced with a DLL.

To get your changes included in Wireshark for general distribution see the Developers Guide section 3.9.2 HERE which basically asks you to raise an enhancement request on Bugzilla and attach your changes as a patch for review.

permanent link

answered 30 Aug '11, 00:36

grahamb's gravatar image

grahamb ♦
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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 29 Aug '11, 23:32

question was seen: 2,823 times

last updated: 30 Aug '11, 12:57

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