Hi,
I've been using iptables to drop packets based on tcp parameters in a
packet. I need a similar
tool to introduce packet delays. I've been searching for the last
couple of days for an tool that I could use to introduce a delay
before selected packets are transmitted. Could some one here point me
to such a tool, if one exists for linux. For instance I'd like to say
all tcp packets
which have a payload greater than x bytes and destined host, be
delayed.
I came across 'tc'. Unfortunately even after struggling for a couple
of days over its man pages I'm not sure it will solve my problem. tc
is far more complicated for this simple task and doesn't seem to allow
one to specify a delay for packets. (rather, if I'm right, it allows
one to specify traffic shapping parameters, such as bitpersecond
etc...).
Regards,
Kumar.
|