From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] burst per connection or filter on packet numbers
Date: Fri, 22 Nov 2002 20:10:19 +0000 [thread overview]
Message-ID: <marc-lartc-103799592530322@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103799020223836@msgid-missing>
On Friday 22 November 2002 19:32, Walter Haidinger wrote:
> Hi!
>
> I'd like put the first n packets of a connection into a seperate class
> like having a burst for each connection.
>
> The netfilter nth patch doesn't quite do this as it
> a. only matches a single packet count and
> b. works on the rule instead the connection count.
>
> I'm thinking of something like:
> iptables -t mangle -I foo -m nth --every :100 -j ...
> where the counter is reset for every new connection.
>
> Can this be done with filters?
Why not doing with htb? It has a nice burst parameter that does exactly what
you want.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-11-22 20:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-22 18:32 [LARTC] burst per connection or filter on packet numbers Walter Haidinger
2002-11-22 20:10 ` Stef Coene [this message]
2002-11-22 22:36 ` Walter Haidinger
2002-11-23 15:25 ` Marcus Blomenkamp
2002-11-23 15:37 ` Walter Haidinger
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=marc-lartc-103799592530322@msgid-missing \
--to=stef.coene@docum.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox