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

If a packet contains xml data, is it possible for wireshark to get that data and display it in a tree view in the display pane? The dissection information is contained in the xml data.

asked 20 May '15, 09:44

XQW1123's gravatar image

XQW1123
4681014
accept rate: 0%


Yes, there is an XML dissector that can do that. It tries to feed of conversations which apply the proper MIME type, or you can set heuristic parameters in the dissector preferences.

permanent link

answered 20 May '15, 10:45

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

There is a xml dissector in Wiresahrk, that can be invoked if you retrieve the dissector handle with find_dissector("xml") function call. See packet-gadu-gadu.c dissector for example.

permanent link

answered 20 May '15, 10:46

Pascal%20Quantin's gravatar image

Pascal Quantin
5.5k1060
accept rate: 30%

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:

×1,620
×63
×36

question asked: 20 May '15, 09:44

question was seen: 4,063 times

last updated: 20 May '15, 10:46

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