ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: Hansang Bae <hbae@xxxxxxxxxx>
Date: Sat, 05 Jul 2008 22:38:37 -0400
miguel olivares varela 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?

You can't just use editcap. If you do, you'll lose the packets and Wireshark will flag the missing packets (prev segment lost). However, you won't see retransmissions, fast retansmissions, triple duplicate acks etc. If you want to see what packet loss looks like, create a duplex mismatch and push/pull some files via ftp



--

Thanks,
Hansang