Re: Simulating a "bad" connection.

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

 



On Saturday 05 May 2007 21:07, Andy Furniss wrote:
> Tommy W wrote:
> > Hi,
> > I was just wondering if someone knows of a good way to simulate a "bad"
> > network?.
> > I want high latency AND/OR high packet loss.
> >
> > I was thinking along the lines
> > iptables -I INPUT -m random --average 90 -j DROP
> >
> > but then I get libipt_random.so doesn't exist.
> > I see that it is not included, how do you get it ?
> >
> > kernel: 2.6.16-rc5
> > iptables: 1.3.4
> >
> > or is there some other more simple solution?
> >
> > Thanks in advance
> > /Tommy
>
> http://linux-net.osdl.org/index.php/Netem
>
> Is in kernel.

Thanks, this looks alot like what I'm looking for
and that it's already included in my kernel is a real plus.

/Tommy


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux