Wireshark-dev: Re: [Wireshark-dev] XML Decoding
From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Thu, 02 Aug 2007 13:57:24 -0400

Should the XML dissector have a port (range) preference? Would be easier than LUA...

Luis EG Ontanon wrote:
No, it would be enough to have the XML dissector register for the
given port in the tcp.port table.

Or have the heuristic dissector register for TCP, but that would be expensive.

-- lua snipplet that registers XML on tcp port 12345
DissectorTable.get("tcp.port"):add(12345, Dissector.get("xml"));



On 8/2/07, Rick Gudmundson <rickg421@xxxxxxxxx> wrote:
Suppose I've got a protocol that is simply XML running over TCP. I know that
Wireshark is capable of dissecting XML data from HTTP packets, etc. What's
the shortest/easiest way to dissect a conversation just as XML? Does it
require a new XML dissector?

Rick