Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] FW: wireshark decodes xml files?

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Mon, 30 Aug 2010 14:17:12 +0200
 

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of upendra.allu@xxxxxxxxx
Sent: den 30 augusti 2010 10:56
To: wireshark-dev@xxxxxxxxxxxxx
Subject: Re: [Wireshark-dev] FW: wireshark decodes xml files?

Hello,

Thanks for your response

>1. currently I am decoding my plug-ins with pcap files and I have traffic to decode the plug-ins. i.e. as you 
>assumed.

E.g you load filses written in pcap format and your (plugin)dissector dissects them?

>2. regarding xml files decoding, my protocols are not yet ready to decode xml files, I think I have to make some >changes in my code in order to make it decode xml files.

You want to load trace files written in xml format?

>3. now my query is, as I decoded my plug-ins with pcap, in the similar way I want to decode with xml, and I want >to know what are changes required to do like that? Also I don't know how to load xml file into Wireshark for 
>decoding. 

You have to write a wiretap module or plugin to read that file format.

>4. I still don't have xml files, I have to write those sample xml files.
/Anders
-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Guy Harris
Sent: Monday, August 30, 2010 1:50 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] FW: wireshark decodes xml files?


On Aug 30, 2010, at 1:07 AM, upendra.allu@xxxxxxxxx wrote:

> Thanks for your quick information.
> Right now I am decoding my plug-ins with .pcap files using Wireshark,
but now I want to decode them using xml files.

I assume that, when you say "I am decoding my plug-ins with .pcap files using Wireshark", you mean that you have pcap files that contain traffic for your protocol, and you have a plugin for your protocol that decodes that traffic.

I also assume that "but now I want to decode them using xml files" means
that:

	1) your protocol uses XML as its encoding;

	2) you have text files containing XML, and that XML uses the same DTD as the XML in your protocol - i.e., the contents of the file look like the contents of a packet for your protocol - and you want to be able to read your XML files into Wireshark and have it decode the XML file in the same fashion in which Wireshark can decode the XML traffic for your protocol.

Are those correct assumptions?  (We need to know in order to know what you're asking, and we need to know what you're asking in order to answer your question.) ________________________________________________________________________
___
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
 
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe