Wireshark-dev: Re: [Wireshark-dev] Generating test packet

From: "Eddie Harari" <eddie@xxxxxxxxxxxxx>
Date: Mon, 4 Feb 2008 15:16:52 +0200

Why not generate packet using libpcap  based C code ?

You can get examples all over … and it should not take more then 15 minutes to code it …

 

 If you need a few packets ( for different packet formats  this might be longer and you should go ahead and sniff real traffic ).

 

 

 

From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Anders Broman
Sent: Monday, February 04, 2008 2:39 PM
To: Developer ort list for Wireshark
Subject: Re: [Wireshark-dev] Generating test packet

 

Hi,

Nothing beats a "real" trace of course but text2pcap is an option, how to do it depends on the protocol layers and what type of traces you do have available.

You'll have to hand craft your protocol part which may not be so easy and may not prove that your dissector is correct.

Regards

Anders

 


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of chandra.kotikalapudi@xxxxxxxxx
Sent: den 4 februari 2008 12:44
To: Wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] Generating test packet

Hi,

 

I am presently working on wireshark for past few days.  I tried to include a protocol in asn.1 format. Could any one of you, help me by saying how to generate the test packet to test it. 

 

Regards,

Chandra.

P Please do not print this email unless it is absolutely necessary. Spread environmental awareness.

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