[MLB-WIRELESS] Rate shaping using HTB and SFQ

David Ashburner d_ashburner at hotmail.com
Mon Dec 12 17:49:14 EST 2005


I don't think you are marking the packets.

You could change it to u32 match <whatever> in this part.

>          $TC filter add dev $INTERFACE parent 1:0 protocol ip prio 0 
>handle 10 fw flowid 1:10
>          $TC filter add dev $INTERFACE parent 1:0 protocol ip prio 1 
>handle 20 fw flowid 1:20


or try using mark here. I think CLASSIFY is experemental and may not work on 
all platforms.

>          # Catch all the small stuff... SYN/ACK/etc
>          $IPTABLES -t mangle -I OUTPUT -p tcp -m length --length :64 -o 
>$INTERFACE -j CLASSIFY --set-class 1:10
>          $IPTABLES -t mangle -I FORWARD -p tcp -m length --length :64 -o 
>$INTERFACE -j CLASSIFY --set-class 1:10
>
          $IPTABLES -t mangle -I OUTPUT -p tcp -m length --length :64 -o 
$INTERFACE -j MARK --set-mark 10
          $IPTABLES -t mangle -I FORWARD -p tcp -m length --length :64 -o 
$INTERFACE -j MARK --set-mark 10





More information about the Melbwireless mailing list