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


I'm developing a plug-in for Wireshark and I have dissected headers and trailers that belongs to my protocol. Now I want to dissect the data part of the packages. For this part I have a XML file that represent a description of it. It will tell where in the data part I can find different variables, their size in bits, their unit etc. So, I have some parts of the protocol that will never change (headers and trailers) and one part that might change (the data part described by the XML file). How can I be able to access the information in the XML file in my plug-in and use it for dissection of the data part?

asked 13 Aug '15, 05:50

Sof's gravatar image

accept rate: 0%

There is currently no way to have dynamic dissection from any sort of configuration file, the colsest is asn2ws which can create C code from an ASN1 description with the aid of templates and configuration files. So you would have to write code from scratch to do that.

permanent link

answered 13 Aug '15, 07:40

Anders's gravatar image

Anders ♦
accept rate: 17%

edited 13 Aug '15, 07:40

Thanks for answering so quickly!

(13 Aug '15, 11:57) Sof
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: 13 Aug '15, 05:50

question was seen: 1,444 times

last updated: 13 Aug '15, 11:57

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