THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How to dissect inside xml?

  • retag add tags

I have an Diameter protocol packet which carries inside an XML. XML is correctly identified and parsed by Wireshark.

However I am interested to dissect inside XML, for example: one XML field is some Base64 value and I would like to decode it to hex and show also this hex value in Wireshark. Any possible way to do this?

Dragos's avatar
1
Dragos
asked 2020-06-12 08:07:12 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Only by adding code. There is hooks to dissect AVP contents in such a function you would have to parse the xml and decode the Base64 data and display it in the protocol tree. If it's a standard AVP described in a publically accessable document you could raise an enhancement bug request and attatch a sample trace file in the hope that someone might implement it.

Anders's avatar
5k
Anders
answered 2020-06-12 11:07:52 +0000
edit flag offensive 0 remove flag delete link

Comments

It might also be possible to decode it in a Lua post-dissector while waiting for the enhancement to be implemented.

cmaynard's avatar cmaynard (2020-06-15 15:32:42 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer