I need a way to model connectivity problems in an automated test suite, on Linux, and preferably from Python. Some kind of proxy server that I can put in front of a web server that can hang or remove connections after one trigger or another (after sending X bytes, etc.) would be ideal.
It's not too difficult to build, but I'd rather take something that already existed if anyone has good recommendations.
source share