title: Simulate delayed and dropped packets on Linux
body: <p>I would like to simulate packet delay and loss for <code>UDP</code> and <code>TCP</code> on Linux to measure the performance of an application.  Is there a simple way to do this?</p>