From: "Bc. Miroslav Kopecek" <kopecek@email.cz>
To: netfilter@lists.netfilter.org
Subject: RE: Connlimit problem k2.6.18.2 , ipt1.3.7
Date: Mon, 12 Mar 2007 09:08:16 +0100 [thread overview]
Message-ID: <012a01c7647d$96aa6ef0$3464000a@oksystem.local> (raw)
In-Reply-To: <Pine.LNX.4.61.0703120026370.18623@yvahk01.tjqt.qr>
Hi,
so is any "safer" and "suported" way to limit number of connections per IP
address?
>-----Original Message-----
>From: netfilter-bounces@lists.netfilter.org
>[mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of
>Jan Engelhardt
>Sent: Monday, March 12, 2007 12:27 AM
>To: Pascal Hambourg
>Cc: netfilter@lists.netfilter.org
>Subject: Re: Connlimit problem k2.6.18.2 , ipt1.3.7
>
>
>On Mar 11 2007 18:14, Pascal Hambourg wrote:
>>> I can't add connlimit rule? What's wrong? Any suggestion?
>>>
>>> -----------------------------------------
>>> iptables -m connlimit -h
>>> connlimit v1.3.7 options:
>>> [!] --connlimit-above n match if the number of existing tcp
>>> connections is (not) above n
>>> --connlimit-mask n group hosts using mask
>>>
>>> -----------------------------------------
>>> RouterBM:/home/kopecek# iptables -A FORWARD -p tcp -s 10.88.99.71 -m
>>> connlimit --connlimit-above 300 --connlimit-mask 32 -j REJECT
>>> --reject-with
>>> tcp-reset
>>> iptables: No chain/target/match by that name
>>
>> Your kernel probably does not support the connlimit match.
>The connlimit match
>> is not part of the standard kernel. It used to be included
>as a kernel patch in
>> the patch-o-matic-ng, but has been removed from the daily
>snapshots since
>> 2006/07/26.
>
>connlimit is still there (not in pomng though), it's
>out-of-out-off-tree,
>so to say. You have to patch pomng, and then patch the kernel
>*whirl* ...
>
>
>Jan
>--
>
>
>
next prev parent reply other threads:[~2007-03-12 8:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-09 17:59 Connlimit problem k2.6.18.2 , ipt1.3.7 Bc. Miroslav Kopecek
2007-03-09 19:40 ` Franck Joncourt
2007-03-12 7:42 ` Bc. Miroslav Kopecek
2007-03-11 17:14 ` Pascal Hambourg
2007-03-11 23:27 ` Jan Engelhardt
2007-03-12 8:08 ` Bc. Miroslav Kopecek [this message]
2007-03-13 9:35 ` Bc. Miroslav Kopecek
2007-03-13 11:33 ` ArcosCom Linux User
2007-03-13 11:48 ` Bc. Miroslav Kopecek
2007-03-13 12:23 ` ArcosCom Linux User
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='012a01c7647d$96aa6ef0$3464000a@oksystem.local' \
--to=kopecek@email.cz \
--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.