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

I have a Xilinx board pushing out periodic UDP messages to the network with a computer running WireShark that is picking up all of the messages that the FPGA is generating. The data section of the UDP packet is not simple to decode so troubleshooting while just looking at the HEX ins't a very easy task. Is it possible to create my own decoder so that custom fields can be populated with human readable text?

If the above answer is yes then how do I create one of those decoders and where do I put it in the Wireshark directory structure?

Thank you.

Details: Computer: standard Windows XP 32bit

asked 08 Mar '13, 11:11

madscientist314's gravatar image

accept rate: 0%

There are three main ways to create a dissector; a text based one with WSGD, a script based one in lua or python, or a c dissector.

WSGD is a DLL that adds dissection via a text based description. Relatively simple to start with and for simple protocols may be sufficient. Windows only.

Wireshark supports Lua and Python as scripting languages for creating dissectors, lua is the most popular. Lua is available on more platforms than python.

A c based dissector is the traditional way to write a dissector, facilities are very comprehensive but it can be the most complicated method.

permanent link

answered 08 Mar '13, 13:19

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: 08 Mar '13, 11:11

question was seen: 14,398 times

last updated: 08 Mar '13, 13:19

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