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

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

madscientist314
16114
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 ♦
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:

×166
×58
×25
×9
×2

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