Salatiel Filho wrote: > Hi guys , i am starting to "play" with qos in linux. Well , i am > trying to setup an ingress filter but i do not know why it is not > working. > > tc add qdisc dev eth0 ingress > tc filter add dev eth0 parent ffff: protocol ip prio 1 handle 1 fw > police rate 160kbit burst 256kbit drop flowid :1 > > After that : > > iptables -A PREROUTING -t mangle --sport 80 -j MARK --set-mark 1 > > So , i think this should make all traffic from port 80 be filtered by > tc , does it ? > > But it is not working , i keep downloading at full speed from port 80. > > Any help ? > I think becasue the MARK-ing is done after the ingress. Better use u32 on ingress. _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc