Re: Controlling number of sessions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux