All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stuart Clark <stoodio@gmail.com>
To: netfilter@lists.netfilter.org
Subject: connlimit and LVS
Date: Wed, 25 Aug 2004 08:31:28 +1000	[thread overview]
Message-ID: <f3204f9a040824153160dbb46f@mail.gmail.com> (raw)
In-Reply-To: <f3204f9a04082400405a81100c@mail.gmail.com>

Hi there..

I have a LVS setup with two directors direct routing to 4 real
servers. I have been trying to use the 'connlimit' patch from
Netfilter patch-o-matic on the director to restrict the number of
concurrent connections coming into the VIP.  I have not been able to
get it working with the PREROUTING or FORWARD tables, and was
wondering if is due to LVS that connlimit can not seem to track
connections?

I have tried this on kernel 2.4.27/ipvs1.0.11 and kernel 2.6.7/ipvs1.2
using the patch-o-matic from CVS at www.netfilter-org.  I can see that
connections directed at the director IP are being detected with
connlimit, but connections passing through the VIP to the real servers
are not.

iptables -t nat -I PREROUTING -p tcp --syn --dport 25 -m connlimit
--connlimit-above 2 --connlimit-mask 24 -j LOG --log-level info
--log-prefix " 2+ SMTP connections "

Any ideas how this can be made to work on the directors?

Kind regards, Stuart.


       reply	other threads:[~2004-08-24 22:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f3204f9a04082400405a81100c@mail.gmail.com>
2004-08-24 22:31 ` Stuart Clark [this message]
2004-08-25 19:25   ` connlimit and LVS Jose Maria Lopez

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=f3204f9a040824153160dbb46f@mail.gmail.com \
    --to=stoodio@gmail.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.