All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bc. Miroslav Kopecek" <kopecek@email.cz>
To: netfilter@lists.netfilter.org
Subject: Connlimit problem k2.6.18.2 , ipt1.3.7
Date: Fri, 9 Mar 2007 18:59:05 +0100	[thread overview]
Message-ID: <00fd01c76274$a089c3e0$3464000a@oksystem.local> (raw)

Hi,
   I have Debian Sarge 3.1 testing, compiled kernel 2.6.18.2 and actual
iptables 1.3.7 compiled and installed

I need to solve problem with full ip_conntrack on my router. One client with
some agressive P2P makes ip_conntack full. So I need to limit connections
per that IP address

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

RouterBM:/home/kopecek# iptables -A FORWARD -p tcp -m connlimit
--connlimit-above 300 --connlimit-mask 32  -j REJECT --reject-with tcp-reset
iptables: No chain/target/match by that name

RouterBM:/home/kopecek# iptables -A FORWARD -p tcp -m connlimit
--connlimit-above 300 --connlimit-mask 32  -j DROP
iptables: No chain/target/match by that name




             reply	other threads:[~2007-03-09 17:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-09 17:59 Bc. Miroslav Kopecek [this message]
2007-03-09 19:40 ` Connlimit problem k2.6.18.2 , ipt1.3.7 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
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='00fd01c76274$a089c3e0$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.