appneta / tcpreplay

Pcap editing and replay tools for *NIX and Windows - Users please download source from
http://tcpreplay.appneta.com/wiki/installation.html#downloads
1.18k stars 268 forks source link

Simulate packet loss #755

Open dsseng opened 1 year ago

dsseng commented 1 year ago

Useful when testing debugging UDP-based software like realtime audio streaming, simulates non-ideal network conditions.

fklassen commented 1 year ago

This is an option that should be in tcpreplay-edit not tcpreplay. There are other issues that this PR would introduce that would make me reluctant to accept this. This includes breaking dual-interface sends, tcpprep etc. Also, there are no tests included.

I'll shelve this for now, but may reconsider if more work is done.

dsseng commented 1 year ago

Yes, it would make more sense in tcpreplay-edit. Basically the work here was done for a simple test and then sent for upstreaming.

fklassen commented 1 year ago

PR's are always welcome. I'll have a look at it when I work on an enhancement release (4.5).

dsseng commented 1 year ago

Great, thank you for your effort!