forked from david78k/anarchyape
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Jul 11, 2013
1 parent
a3bf732
commit 2d55bbe
Showing
3 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
if=eth1 | ||
delay=100.0ms | ||
sleep=10 | ||
|
||
# delay | ||
#tc qdisc add dev $if root netem delay $delay && sleep $sleep && tc qdisc del dev $if root netem | ||
#tc qdisc add dev eth0 root netem delay 100.0ms && sleep 30.0 && tc qdisc del dev eth0 root netem | ||
|
||
# delete | ||
#tc qdisc del dev $if root netem | ||
|
||
# block port | ||
#iptables -A INPUT -p tcp --dport 8080 -j DROP | ||
# unblock port | ||
iptables -D INPUT -p tcp --dport 8080 -j DROP |
This file was deleted.
Oops, something went wrong.