From: Samuel Jean <sj-netfilter@cookinglinux.org>
To: "lu.peng" <lu.peng.louis@163.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: How to limit the rate of the TCP connections from a subnet?
Date: Mon, 08 Nov 2004 07:01:20 -0500 [thread overview]
Message-ID: <418F6010.4050308@cookinglinux.org> (raw)
In-Reply-To: <MHEFLEOMPIPCIFEKLNIPEEGGCAAA.lu.peng.louis@163.com>
lu.peng wrote:
>Hi, all,
>
> I want to limit the rate of the TCP connections of every single ip from a specific subnet, but i can't find a good way to do that.
>
>
So, that's netfilter@lists.netfilter.org question ?
> <>
> I have studied two matches:
> 1, 'connlimit' match
> but unfortunately, 'connlimit' match provide two ways to limit the sum
> of the TCP connections:
> 1) single IP
> 2) whole subnet not every single ip of the subnet
> and most importantly, it can not limit the rate , just limit the sum
> of the TCP connections.
>
> 2, 'limit' matches:
> I can use '-p tcp --syn -m limit --limit 6/m ......' to limit the rate
> of the TCP connections of the whole subnet or single ip. if i want to
> limit the rate of every single ip of the specific subnet, I should set
> a ule for every ip.
> what i want is : only one rule can achieve ---limit the rate of the
> TCP connections of every single ip from a specific subnet.
>
And what about 'recent' match ?
prev parent reply other threads:[~2004-11-08 12:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-08 11:53 How to limit the rate of the TCP connections from a subnet? lu.peng
2004-11-08 11:56 ` Jvalencia
2004-11-08 12:01 ` Samuel Jean [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=418F6010.4050308@cookinglinux.org \
--to=sj-netfilter@cookinglinux.org \
--cc=lu.peng.louis@163.com \
--cc=netfilter-devel@lists.netfilter.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.