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

how to begin with wireshark plugin coding

0

I a new to wireshark plugin development. How can I start with wireshark plugin development.

asked 11 Oct '12, 23:14

Akhil's gravatar image

Akhil
53272831
accept rate: 0%


One Answer:

1

Invaluable sources are

  • Wireshark Developer Guide
  • the doc/ directory in the sources
  • The sources

You could opt to start in Lua, or use the Wireshark Generic Dissector

answered 12 Oct '12, 05:47

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

The Generic dissector is very hard to understand. Is there any simpler one?

(15 Oct '12, 23:02) Akhil

In epan/dissectors there is a multitude of dissectors to look at. It's hard to give better advice without knowing more about the protocol you want to build a dissector for. Is it running on TCP, UDP or other? Start with the example in readme.developer make that compile as a plugin as a start.

(16 Oct '12, 06:56) Anders ♦