From owner-freebsd-isp Tue Oct 30 11:32: 5 2001 Delivered-To: freebsd-isp@freebsd.org Received: from freebsd.hbz.pl (freebsd.hbz.pl [213.77.124.2]) by hub.freebsd.org (Postfix) with ESMTP id 41B8B37B408 for ; Tue, 30 Oct 2001 11:31:57 -0800 (PST) Received: by freebsd.hbz.pl (Postfix, from userid 1002) id A6238120BC8; Tue, 30 Oct 2001 20:31:56 +0100 (CET) Date: Tue, 30 Oct 2001 20:31:56 +0100 From: Wojciech Sobczuk To: Jeremy Buckner Cc: isp@freebsd.org Subject: Re: Bandwidth Monitor Message-ID: <20011030203156.B89939@freebsd.hbz.pl> References: <000901c16178$4436dae0$0c0aa8c0@caz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000901c16178$4436dae0$0c0aa8c0@caz>; from jeremy@cableaz.com on Tue, Oct 30, 2001 at 12:22:50PM -0700 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 30, 2001 at 12:22:50PM -0700, Jeremy Buckner wrote: > I am wondering if FreeBSD has any mods or anything like > that, that would allow me to monitor per client bandwidth > utilization. This would monitor between two and > three-thousand clients. Any input on this or other ways to > accomplish this would be helpful. > > Jeremy Buckner Depends on what You're serving for the clients. You can, for example, easily count HTTP traffic (by parsing the logs and counting the size of files served - and associating those with users). Similiar with mail traffic probably, and most FTP servers support traffic counting. Another option You have is to add an IPFW rule for each UID (provided that all the traffic generated by each user will be generated under the user's uid) - see the 'uid' IPFW option. Greetings, Wojtek -- Wojciech Sobczuk Omega Software Group --- http://www.osg-hq.net/ --- postbox@osg-hq.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message