Re: Simulated latency

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You could use the iptables QUEUE target. It allows you to "catch" packets in
a user space program (e.g. perl), do stuff with it (or nothing: sleep) and
then ACCEPT the packet (or DROP).

It's a pretty crude method, but it works.

----- Original Message -----
From: "Morey ixipetl" <mixipetl@xxxxxxxxxxx>
Cc: <lartc@xxxxxxxxxxxxxxx>
Sent: Thursday, September 25, 2003 5:27 PM
Subject:  Simulated latency


> This seems like it ought to be simple, but so far, no joy.  I need to
> simulate latency in a network connection, e.g. a sattelite link, but
> can't figure out how to do that.  I don't need to drop packets or
> otherwise limit rates, just introduce certain fixed amounts of latency.
>  I know about NIST Net, but would rather use iptables, ip, tc, etc. Any
> ideas?


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux