Wireshark-dev: Re: [Wireshark-dev] XML Dissection in Wireshark

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Fri, 05 Nov 2010 19:34:58 +0100
Hi,

1. Make sure that the XML dissector preferences are set correctly.
2. Look in the dtds subdirectory where the installed DTD's are stored.
   Use them as examples. Add your DTD here and start Wireshark to
   get it to load.

Thanks,
Jaap

On 11/05/2010 05:36 PM, upendra.allu@xxxxxxxxx wrote:
Hi Anders,
Thanks for the reply, But what type of application you are talking about?
Here my main requirement is wireshark dissecting the XML files.
Regards,
Upendra
------------------------------------------------------------------------
*From:* wireshark-dev-bounces@xxxxxxxxxxxxx on behalf of Anders Broman
*Sent:* Fri 11/5/2010 4:12 PM
*To:* Developer support list for Wireshark
*Subject:* Re: [Wireshark-dev] XML Dissection in Wireshark

Hi,
Sorry, but the whole idea seems foolish to me. It would be much better
to have the application outputting the xml data doing that in
either pcap format or some other binary data that's easier to parse than
xml.
Just my 2 cents.
regards
Anders

------------------------------------------------------------------------
*From:* wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] *On Behalf Of
*upendra.allu@xxxxxxxxx
*Sent:* den 5 november 2010 15:58
*To:* wireshark-dev@xxxxxxxxxxxxx
*Subject:* [Wireshark-dev] XML Dissection in Wireshark

Hello,
I have some queries regarding XML data dissection in Wireshark.
Right now all the protocols in Wireshark can be dissected using "pcap"
files.
Now I have a requirement to use XML data to dissect some of the(ranap,
mtp3 etc..) Wireshark protocols. after doing some investigation, I found
that in order to dissect xml data, separate dtd files need to be written
for all the required plug-ins. Which are similar to the files in �dtds�
directory in Wireshark source code. Once after that I have to integrate
the dtd files into wireshark code so as to make them to dissect XML
data. now the following are my queries.
1. How to write a DTD file for a protocol? (is there any standard format
for that? if so, can any one please let me know?)
2. Once after writing the DTD file, how to integrate the file into
wireshark base code? (is the normal source code compilation is enough? I
don�t think it will be enough as it is separate file format in wireshark)
3. what additional changes are required for this in the wireshark?
4. Finally, is my above approach for dissecting XML data is correct?
If any one worked in above type of requirement please help me.
Regards,
Upendra
**