Wireshark-users: Re: [Wireshark-users] add random packet lost

From: "Jake Peavy" <djstunks@xxxxxxxxx>
Date: Sun, 6 Jul 2008 06:53:44 -0600
On 6/13/08, miguel olivares varela <klica_sk8@xxxxxxxxxxx> wrote:
 
Hi everybody
 
i have pcap file and i want to add random packet lost, i tried to use editcap
 
editcap -E 0.05 file.pcap file-error.pcap
 
but i have a lot of errors not only packet lost.
 
does anybody help me?

-E has a specific purpose - it does not remove whole packets at the loss rate, it changes random bytes in the raw file.  This means that errors could come in any portion of any packet - the headers, the payload, whatever.

I don't know of a tool that can create packet loss in a cap file.  It would be a good feature addition to editcap though... ;-)

-jp


--
The face of a child can say it all, especially the mouth part of the face.

deepthoughtsbyjackhandy.com