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

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

Date: Sat, 14 Jun 2008 23:27:09 +0200
miguel olivares varela wrote:
> The error massage that i have are bad ip checksum, bad udp checksum, etc.
> But i only want to remove or erase some packets "randomly", i have i pcap
> file with rtp payload only one flux . So  i'm imteresting to listen the
rtp
> payload with a different percent of packet lost. That is why i used editcap.
 
You can use editcap to remove packets, but you have to specify the packet
numbers. 
Use ###-### if you want to remove a range of packets.

$ editcap infile.cap outfile.cap 200 300 400-500 600
 
By using the option -E you add ramdomly errors to the output file;-)

Grtz
Joan