git.stg.codes
/
stg.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fixed issues in cap_pcap.
[stg.git]
/
projects
/
stargazer
/
scripts
/
shaper
/
shaper.sh
1
#!/bin/bash
2
3
int_iface=eth1
4
5
iptables -t mangle --flush
6
7
tc qdisc add dev $int_iface root handle 1: htb
8
tc class add dev $int_iface parent 1: classid 1:1 htb rate 100mbit ceil 100mbit burst 200k
9