All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hasso Tepper <hasso@linux.ee>
To: lartc@vger.kernel.org
Subject: [LARTC] Policing IPv6 traffic
Date: Tue, 18 May 2004 11:10:24 +0000	[thread overview]
Message-ID: <200405181410.24131.hasso@linux.ee> (raw)

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/

                 reply	other threads:[~2004-05-18 11:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200405181410.24131.hasso@linux.ee \
    --to=hasso@linux.ee \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.