From: Daniel Lopes <lopsch@lopsch.com>
To: netfilter@lists.netfilter.org
Subject: Re: Limit
Date: Fri, 26 Aug 2005 23:28:35 +0200 [thread overview]
Message-ID: <430F8983.5000006@lopsch.com> (raw)
In-Reply-To: <430F842A.8060501@riverviewtech.net>
Taylor, Grant schrieb:
> Take a look at the connlimit match extension.
>
> iptables -t filter -A INPUT -i ${WAN} -d ${WANIPAddress} -p tcp --dport 3333 -m connlimit --connlimit-above 10 -j DROP
>
>
>
> Grant. . . .
>
> Lyubomir Louisov wrote:
>
>>So how can i limit the number of connections on port 3333 to no more than 10
>>at a time with iptable?
>>Is it posible?
>
>
>
>
I first thought about the same thing. But that will allow more than 10
connections in total. It will allow only 10 connections per IP but afaik
in total it can then be alot more than 10 depending on the IPs
connecting. Don't know how you can limit it to 10 connections in total
but there must be a way with so much options being available for
iptables ;). Please correct me if I am wrong.
next prev parent reply other threads:[~2005-08-26 21:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050826145640.A122EA5CAC9@smtp.orbitel.bg>
2005-08-26 20:38 ` Limit Lyubomir Louisov
2005-08-26 21:05 ` Limit Taylor, Grant
2005-08-26 21:18 ` Limit Damon Gray
2005-08-26 21:28 ` Daniel Lopes [this message]
2005-08-26 21:24 ` Limit Damon Gray
2005-08-26 21:33 ` Limit Taylor, Grant
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=430F8983.5000006@lopsch.com \
--to=lopsch@lopsch.com \
--cc=netfilter@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.