Re: [Wireshark-dev] XML Decoding

2007-08-04 Thread Luis EG Ontanon
revision 22454 adds prefs for a tcp.port range and heuristic dissecction of tcp payload. On 8/2/07, Luis EG Ontanon <[EMAIL PROTECTED]> wrote: > A tcp.port (range) and/or to register the heuristic dissector for > those cases where there's not necessarily a known port > > On 8/2/07, Jeff Morriss <[

Re: [Wireshark-dev] XML Decoding

2007-08-02 Thread Luis EG Ontanon
A tcp.port (range) and/or to register the heuristic dissector for those cases where there's not necessarily a known port On 8/2/07, Jeff Morriss <[EMAIL PROTECTED]> wrote: > > Should the XML dissector have a port (range) preference? Would be > easier than LUA... > > Luis EG Ontanon wrote: > > No,

Re: [Wireshark-dev] XML Decoding

2007-08-02 Thread Jeff Morriss
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.

Re: [Wireshark-dev] XML Decoding

2007-08-02 Thread Luis EG Ontanon
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"));

[Wireshark-dev] XML Decoding

2007-08-02 Thread Rick Gudmundson
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