From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hasso Tepper Date: Tue, 18 May 2004 11:10:24 +0000 Subject: [LARTC] Policing IPv6 traffic Message-Id: <200405181410.24131.hasso@linux.ee> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/