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

Re: Looking for a tool to simulate unreliable network connections



Hi,

Yes, use "tc" command from iproute package.

Or you can make a script to:

- Enable/Disable kernel forward in you router.
  echo 0 > /proc/sys/net/ipv4/ip_forward
- Add/Drop static routes.
  route del default
- Reduce TTL in the MANGLE table.
- Enable/Disable firewall rules.
  The last two using iptables.

Depending on frequency of this command you can simulate a slow connection.

Bye!!!

On 20/02/10 23:22, Oliver Schneider wrote:
Hi there,

does anyone here know a tool/package that I can use on a Debian system that acts as a router in order to simulate lossy or very slow network connections?


Thanks in advance,

// Oliver



--
---------------------------------------------------------------------
   "You don't know where your shadow will fall",
        Somebody.-
---------------------------------------------------------------------
 Ing. Olaf Reitmaier Veracierta<olafrv@gmail.com>
---------------------------------------------------------------------
 Personal Web Page -- http://olafrv.com -- info@olafrv.com
---------------------------------------------------------------------


Reply to: