Package: tcng
Version: 9m-1

Sarge tcng looks outdated regarding Sarge iproute (20041019-3). Output procuded 
by tcng seems not compatible with this iproute version.

Upgrading to tcng 10b solved the problem.

Output of tcng 9m-1 for a sample script :
tc qdisc add dev eth0 ingress
tc filter add dev eth0 parent ffff:0 protocol all prio 1 u32 match u32 0x0 0x0 
at 0 classid ffff:1 police index 3 rate 3125000bps burst 2146435072 mpu 0 
action drop/pass
tc qdisc add dev eth0 handle 1:0 root dsmark indices 2 default_index 0
tc filter add dev eth0 parent 1:0 protocol all prio 1 u32 match u32 0x0 0x0 at 
0 classid 1:1 police index 4 rate 3125000bps burst 2146435072 mpu 0 action 
drop/pass


Output of tcng 10b for same script :
tc qdisc add dev eth0 ingress
tc filter add dev eth0 parent ffff:0 protocol all prio 1 u32 match u32 0x0 0x0 
at 0 classid ffff:1 police index 3 rate 3125000bps burst 2146435072 mpu 0 
conform-exceed drop/pass
tc qdisc add dev eth0 handle 1:0 root dsmark indices 2 default_index 0
tc filter add dev eth0 parent 1:0 protocol all prio 1 u32 match u32 0x0 0x0 at 
0 classid 1:1 police index 4 rate 3125000bps burst 2146435072 mpu 0 
conform-exceed drop/pass


tc filter lines have slightly changed (action/conform-exceed) and old one's are 
not compatible with current iproute version unless I didn't find some trick 
somewhere ...


--
Sylvain



Reply via email to