From owner-freebsd-questions Fri Jan 12 3:57:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from matrix.advancewebhosting.com (ns.advancewebhosting.com [207.35.169.2]) by hub.freebsd.org (Postfix) with ESMTP id 116FF37B402 for ; Fri, 12 Jan 2001 03:57:01 -0800 (PST) Received: from joelt (cr917308-a.shprd1.on.wave.home.com [24.112.71.73]) by matrix.advancewebhosting.com (8.9.3/8.9.3) with SMTP id GAA15625; Fri, 12 Jan 2001 06:46:14 -0500 (EST) (envelope-from joe@fasti.net) Reply-To: From: "Joe Oliveiro" To: "Paul M . Lambert" , "'freebsd-questions@freebsd.org'" Subject: RE: Limiting number of downloads per user in Apache?? Date: Fri, 12 Jan 2001 06:49:38 -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.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: <20010111155028.B316@pinky.plambert.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I think he's looking to limit the number of concurrent downloads. Which isn't possible on an individual user basis. The only other solution to this that I can see is actually rate limiting apache either via apache itself or ipfw (that's what I use). Or you might want to setup one server of this website an a different one for the rest of your stuff so you can limit the bandwidth used for the site but not affect the other(s) your hosting, if any. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Paul M . Lambert Sent: Thursday, January 11, 2001 6:50 PM To: 'freebsd-questions@freebsd.org' Subject: Re: Limiting number of downloads per user in Apache?? On Thu, 11 Jan 2001, Jim Freeze wrote: > With php you can track a visitors ip with $REMOTE_ADDR. > This should identify the user, even with multiple windows open. > > Jim It would seem so (and one doesn't need PHP to have access to the remote address, by the way). Unfortunately, hundreds of thousands of people are behind internet proxies; AOL, for example, has many millions of members, but only a few hundred thousand ip addresses. It's entirely possible that hundreds of different people using browsers on their own personal computers could have requests sent from the same IP address. It's more than possible, but in fact quite common. There is _no_ way to track users in a foolproof manner. Sorry. --plambert 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