From: Daniel Bidwell <bidwell@andrews.edu>
To: Nauman Malik <naumanm@khi.wol.net.pk>
Cc: netfilter@lists.netfilter.org
Subject: Re: Controlling number of sessions
Date: 23 Sep 2003 10:43:39 -0400 [thread overview]
Message-ID: <1064328220.3980.26.camel@samwise> (raw)
In-Reply-To: <200309231859450453.1183C0A3@smtp.khi.wol.net.pk>
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.
>
--
Daniel R. Bidwell | bidwell@andrews.edu
Andrews University | Information Technology Services
If two always agree, one of them is unnecessary
"Friends don't let friends do DOS"
"In theory, theory and practice are the same.
In practice, however, they are not."
next prev parent reply other threads:[~2003-09-23 14:43 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 [this message]
2003-09-23 15:44 ` Eric Leblond
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=1064328220.3980.26.camel@samwise \
--to=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 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.