17 #Selected dirs to disconnect
20 mark=$(cat /var/stargazer/users/$LOGIN/shaper_mark)
21 rate=$(cat /var/stargazer/users/$LOGIN/shaper_rate)
25 iptables -t mangle -D FORWARD -d $IP -j MARK --set-mark $mark
28 iptables -t mangle -D FORWARD -d $IP -j MARK --set-mark $mark
32 tc filter del dev $int_iface parent 1: protocol ip prio 3 handle $mark fw classid 1:$mark
33 tc class del dev $int_iface parent 1:1 classid 1:$mark htb rate $rate burst 40k
35 #echo "D `date +%Y.%m.%d-%H.%M.%S` $IP $CASH" >> /var/stargazer/users/$LOGIN/connect.log