tc ingress + iptables mark problem

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ?

--
[]'s
Salatiel

"O maior prazer do inteligente é bancar o  idiota
  diante de um  idiota que banca o inteligente".
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux