I just noticed that policers don''t seem to work with marks in 2.6 .
Can anyone get -
iptables -A PREROUTING -t mangle -p tcp -j MARK --set-mark 1
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 1 handle 1 fw
police rate 100kbit burst 10k drop flowid :1
To work on a 2.6 - it''s OK on 2.4.26, version of tc used makes no
difference. The catch all policer as in wondershaper is OK on 2.6.
Andy.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/