Imagine that you are testing some IoT device and it connection is slow (i.e.: PPP or even SLIP) and you want to reproduce this issue using an application running on Linux.

How to force Linux to delay the TCP packets?

sudo tc qdisc replace dev eth0 root netem delay 1500ms 200ms

Source: https://github.com/awslabs/aws-crt-python/issues/173

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar

WordPress.com Logo

You are commenting using your WordPress.com account. ( Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. ( Log Out /  Change )

Cancel

Connecting to %s