[clug] Simulating Network Delays on a Single Machine

Duncan Roe duncan_roe at optusnet.com.au
Fri Sep 11 00:51:39 UTC 2020


On Fri, Sep 11, 2020 at 09:36:36AM +1000, linux wrote:
> Is there a good way to simulator for the purposes of development and
> testing a network with variable high delay (round trip times of 600ms to
> 2.5s) and occasional packet loss on a computer? Are there iptables rules
> or a daemon that I can put between the client and the server to do this?
>
>
> Jeff.
>
Hi Jeff,

You could implement delays in a netfilter-queue program (user-written extension
to nft or iptables). See
https://netfilter.org/projects/libnetfilter_queue/doxygen/html/

Cheers ... Duncan.



More information about the linux mailing list