Skip site navigation (1)Skip section navigation (2)
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>
In-Reply-To: <000a01c0c23d$ca020ee0$4879a4cb@lowrp1.vic.optushome.com.au>; from gerard@conect.com on Wed, Apr 11, 2001 at 02:13:40PM %2B1000
References:  <000a01c0c23d$ca020ee0$4879a4cb@lowrp1.vic.optushome.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010411221608.A72780>