Policing IPv6 traffic

Linux Advanced Routing and Traffic Control

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

 



Simple police filter below works for IPv4 traffic, but not for IPv6 
traffic. Tested with 2.4.26 and 2.6.6 kernel. Am I doing something 
wrong or is it bug? Same filter logic works with imq+htb for both 
IPv4 and IPv6 traffic.

iptables -A PREROUTING -i eth1.101 -t mangle -j MARK --set-mark 0x101
ip6tables -A PREROUTING -i eth1.101 -t mangle -j MARK --set-mark 0x101
tc qdisc add dev eth1.101 handle ffff: ingress
tc filter add dev eth1.101 parent ffff: protocol all prio 50 handle \
0x101 fw police rate 1024kbit burst 60k drop flowid :101


-- 
Hasso Tepper
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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