Created
August 16, 2011 20:34
-
-
Save fapestniegd/1150101 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get install -y libiptables-ipv4-ipqueue-perl | |
| modprobe iptable_filter | |
| modprobe ip_queue | |
| modprobe ipt_ttl | |
| wget http://people.redhat.com/berrange/notes/network-delay/delay-net.pl | |
| chmod 755 delay-net.pl | |
| ./delay-net.pl 300 > /dev/null 2>&1 & | |
| iptables -I INPUT --source 10.0.100.10 -j QUEUE | |
| iptables -D INPUT --source 10.0.100.10 -j QUEUE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment