3 ms·
Does anyone have recommendations if you want to simulate poor/unreliable/slow networks in order to ensure a client application handles these scenarios? Would a
by cebert 3y ago
Does anyone have recommendations if you want to simulate poor/unreliable/slow networks in order to ensure a client application handles these scenarios? Would a network emulator be the appropriate tool for this?
- Libcat99 3y agoYou can configure the Linux network stack to include packet loss and latency using tc. Not sure about other os. https://www.pico.net/kb/how-can-i-simulate-delayed-and-dropped-packets-in-linux/ https://www.pico.net/kb/how-can-i-simulate-delayed-and-dropp...
- c0nsumer 3y agoLook at using pf on OpenBSD. Specifically, look at the probability and set delay options: https://man.openbsd.org/pf.conf https://man.openbsd.org/pf.conf Couple this with inserting pf as a transparent firewall and you can make a good hop become all sorts of crappy. And you can do this on very low end hardware with just a pair of NICs.
- NexRebular 3y agoFreeBSD with dummynet. Has always worked great for testing different network conditions.