All pastes #58202 Raw Edit

Someone

public text v1 · immutable
#58202 ·published 2006-05-22 23:34 UTC
rendered paste body
iptables -t mangle -A OUTPUT -m owner --uid-owner 1004 -j MARK --set-mark 3
tc qdisc del dev $DEV root
tc qdisc add dev $DEV root handle 1: prio
tc qdisc add dev $DEV parent 1:1 handle 10: sfq
tc qdisc add dev $DEV parent 1:2 handle 20: sfq
tc qdisc add dev $DEV parent 1:3 handle 30: tbf rate 400kbit burst 80k limit 120k
tc filter add dev $DEV parent 1: protocol ip prio 1 handle 1 fw flowid 1:1
tc filter add dev $DEV parent 1: protocol ip prio 1 handle 2 fw flowid 1:2
tc filter add dev $DEV parent 1: protocol ip prio 1 handle 3 fw flowid 1:3
tc filter add dev $DEV parent 1: protocol ip prio 20 u32 match ip dst 0.0.0.0/0 flowid 1:1