From owner-freebsd-questions Wed Apr 11 20:20:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.pinboard.com (mail.pinboard.com [194.209.195.7]) by hub.freebsd.org (Postfix) with ESMTP id 6E0A337B43F for ; Wed, 11 Apr 2001 20:20:14 -0700 (PDT) (envelope-from kurt@pinboard.com) Received: (from uucp@localhost) by mail.pinboard.com (8.9.3/8.9.3/20000102-00-KK) with UUCP id FAA97256 for freebsd-questions@FreeBSD.ORG; Thu, 12 Apr 2001 05:20:12 +0200 (CEST) (envelope-from kurt@pinboard.com (kurt@pinboard.com)) (client-IP ) Received: (from uucp@localhost) by squirrel.pbdhome.pinboard.com (8.9.1/8.9.1-19980817-01/KK) with UUCP id WAA15868 for freebsd-questions@FreeBSD.ORG; Wed, 11 Apr 2001 22:23:43 +0200 (CEST) (envelope-from: kurt@pinboard.com) Received: (from kurt@localhost) by badger.pbdhome.pinboard.com (8.9.3/8.9.3/20000829-01-KK) id WAA73220 for freebsd-questions@FreeBSD.ORG; Wed, 11 Apr 2001 22:16:09 +0200 (CEST) (envelope-from kurt (kurt)) (client-IP ) Date: Wed, 11 Apr 2001 22:16:09 +0200 From: pbdlists@pinboard.com To: freebsd-questions@FreeBSD.ORG Subject: Re: proxy authentication, accounting... Message-ID: <20010411221608.A72780@pinboard.com> Mail-Followup-To: pbdlists@pinboard.com, freebsd-questions@FreeBSD.ORG References: <000a01c0c23d$ca020ee0$4879a4cb@lowrp1.vic.optushome.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000a01c0c23d$ca020ee0$4879a4cb@lowrp1.vic.optushome.com.au>; from gerard@conect.com on Wed, Apr 11, 2001 at 02:13:40PM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Gerard, You might want to have a look at the access.log files squid writes. In there for each access you have a line with the number of bytes transferred, and if the user needed to be authenticated for the access, the userID (s)he used for authentication will be mentioned as well. Details on the fields in accesslog.conf can be found on the squid homepage: http://www.squid-cache.org/Doc/FAQ/FAQ-6.html With this information it should be straightforward to create a python or perl script totalling transferred bytes per user. You might also want to check whether SARG (http://web.onda.com.br/orso/) fits your needs. Cheers, Kurt On Wed, Apr 11, 2001 at 02:13:40PM +1000, gerard wrote: > i've just succesfully set up freeBSD 4.2-stable with squid proxy (yipee!), now i'm looking to add user authentication and accounting. authenticating proxy-users through squid seems fairly straightforward, but information on accounting data throughput is not so readily available. the workstations connecting to the server are all windows 95/98, is there a way that accounting can be performed using ther proxy authentication? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message