Displaying 1 result from an estimated 1 matches for "stop_outbound_tc".
2006 Aug 15
5
howto reduce the ping?
...--set-class 1:10
#irc
tc class add dev ppp0 parent 1:1 classid 1:20 htb rate 1kbps ceil 1kbps
prio 2
iptables -t mangle -A POSTROUTING -p tcp --dport 6667 -j
CLASSIFY --set-class 1:20
#default
tc class add dev ppp0 parent 1:1 classid 1:90 htb rate 4kbps ceil 4kbps
prio 3
}
stop_outbound_tc()
{
echo "Stopping outbound tc"
tc qdisc del dev ppp0 root 2> /dev/null > /dev/null
tc qdisc del dev ppp0 ingress 2> /dev/null > /dev/null
}
stop_outbound_iptables()
{
echo "Stopping outbound iptables"
#css
iptables -t mangle -D POSTROUTI...