News for hackers. Stuff that matters.
Re:Twenty-five open-source network emulators and simulators ... by iam-TJ on Wednesday October 11, 2023 @08:36AM (#37843645)
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

Re:Twenty-five open-source network emulators and simulators ... by jiggawatts on Wednesday October 11, 2023 @05:42PM (#37850605)
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.