From: Jarek Poplawski <jarkao2@o2.pl>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: tc filter
Date: Mon, 21 Aug 2006 07:56:26 +0000 [thread overview]
Message-ID: <ecbou0$1nf$1@sea.gmane.org> (raw)
In-Reply-To: <ebfcs8$d3n$1@sea.gmane.org>
On 18-08-2006 12:28, Andy Furniss wrote:
> Jarek Poplawski wrote:
>
>> Should be:
>> # tc filter add dev eth0 parent 1: proto ip pref 100 \
>> u32 match ip dst 192.168.1.222 flowid 1: police \
>> conform-exceed drop/drop
>
> Looks a bit iffy but I haven't tried it - I thought that would be drop
> whether under or over - if it's valid at all without action/ a police rate.
Maybe I should have written:
"Should be with a fairly current iproute2 and kernel:".
It's so called "New syntax" ("Old syntax" didn't work for me),
to add exceed action for zero rate. According to help rate and
burst should be included, but it works anyway.
Jarek P.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2006-08-21 7:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-10 13:38 [LARTC] Re: tc filter Jarek Poplawski
2006-08-16 10:16 ` Jarek Poplawski
2006-08-18 10:28 ` Andy Furniss
2006-08-21 7:56 ` Jarek Poplawski [this message]
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='ecbou0$1nf$1@sea.gmane.org' \
--to=jarkao2@o2.pl \
--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.