Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Eric Leblond <eric@regit.org>
To: Daniel Bidwell <bidwell@andrews.edu>
Cc: Nauman Malik <naumanm@khi.wol.net.pk>, netfilter@lists.netfilter.org
Subject: Re: Controlling number of sessions
Date: Tue, 23 Sep 2003 17:44:05 +0200	[thread overview]
Message-ID: <1064331844.3102.21.camel@porky> (raw)
In-Reply-To: <1064328220.3980.26.camel@samwise>

[-- Attachment #1: Type: text/plain, Size: 842 bytes --]

You want the connlimit target that is in POM ! :
http://www.netfilter.org/documentation/pomlist/pom-base.html#connlimit

Le mar 23/09/2003 à 16:43, Daniel Bidwell a écrit :
> On Tue, 2003-09-23 at 09:59, Nauman Malik wrote:
> > Hi,
> > 
> > I have a Linux box being used as a cache server. I want to control number of TCP sessions per user/IP on this machine. e.g. At one time only 50 reuqets per user can be passed through this linux box.
> > Is it possible using iptables?.
> > Any idea how?
> 
> I have connection tracking enabled and have a perl program that runs
> every 5 minutes and counts the number of connections per local IP.  You
> can then use a program like cutter to kill extra connections if this is
> really what you want to do.
> > 
-- 
Eric Leblond
Nufw, Now User Filtering Works (http://www.nufw.org)

[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2003-09-23 15:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-23 13:59 Controlling number of sessions Nauman Malik
2003-09-23 14:43 ` Daniel Bidwell
2003-09-23 15:44   ` Eric Leblond [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=1064331844.3102.21.camel@porky \
    --to=eric@regit.org \
    --cc=bidwell@andrews.edu \
    --cc=naumanm@khi.wol.net.pk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox