Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Linux's tc-netem [0] is designed for this:

"The netem queue discipline provides Network Emulation functionality for testing protocols by emulating the properties of real-world networks.

The queue discipline provides one or more network impairments to packets such as: delay, loss, duplication, and packet corruption."

[0] https://man7.org/linux/man-pages/man8/tc-netem.8.html



tc-netem is too complicated to set up and its performance profile is very different to real networks.

I mean this in the sense that it can’t even emulate a “long cable” properly.

I’ve tried both the Linux and BSD tools mentioned by others here and they’re all very old, weird, and difficult.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: