From owner-freebsd-questions Thu Jan 11 15:38:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from green.pwm.clinic.net (green.pwm.clinic.net [207.228.202.2]) by hub.freebsd.org (Postfix) with ESMTP id 63DFE37B400 for ; Thu, 11 Jan 2001 15:38:02 -0800 (PST) Received: from tony (work-8.bath-me.clinic.net [207.228.206.23]) by green.pwm.clinic.net (8.9.3/8.9.3) with SMTP id SAA92095; Thu, 11 Jan 2001 18:37:57 -0500 (EST) (envelope-from monfiletto@clinic.net) From: "Tony M" To: , "Mitchell, Jason" Cc: "'freebsd-questions@freebsd.org'" Subject: RE: Limiting number of downloads per user in Apache?? Date: Thu, 11 Jan 2001 18:37:57 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3A5E42FB.D728F40F@i-clue.de> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have the opposite problem, I seem to be only able to start 2 downloads at once from my apache server.... -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Christoph Sold Sent: Thursday, January 11, 2001 6:34 PM To: Mitchell, Jason Cc: 'freebsd-questions@freebsd.org' Subject: Re: Limiting number of downloads per user in Apache?? "Mitchell, Jason" schrieb: > > Anyone have any luck with limiting the number of connections or downloads > allowed per user/visitor on a web site served by Apache? I'm running 1.3.12 > and getting these people that open up 10-20 downloads all at once, pretty > much consuming my bandwidth. I'd like to limit it down to 2-3 per user. > The MaxClients directive won't work, of course, as that will lock everyone > out once the max is hit. There is no clean way to do such a thing. Http is a connectionless protocol, thus you cannot count how much connections are linked to a particular client. Also keep in mind the gazillion of surfers connected through single gateways (AOL, Compuserve,...). You may try any form of session tracking, but this will limit only the dumb user -- some more intelligent people will launch another instance of their browser, or even use another window to get another connection. Just my .02 EUR -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message