Re: simulate delays and packet drops in tcp /udp

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

 



Joe Knowling wrote:
> 
> I'd like to be able to simulate network congestion and
> delays on a tcp / udp connection on a single host -
> essentially connecting via the loopback interface.
> Before
> going on to hack some kind of delay /drop layer I
> thought
> I'd check to see if there already is something
> available.
> 

I did a thing which does that.

http://www.zip.com.au/~akpm/packet-delay.tar.gz

It uses the tun/tap device and some rather funky policy-routing
rules to route packets up through a userspace application.  The
userspace app performs the delay and bandwidth limitation then feeds
the packets back into the kernel.  It doesn't perform packet loss, but
that'll be easy.

The challenge will be working out how to make it go :(  It was a
couple of years ago.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux