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" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 25, 2003 5:27 PM
Subject: [LARTC] 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 / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to