> -----Original Message-----
> From: Jun Arlante [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 11, 2001 2:32 AM
> To: [EMAIL PROTECTED]
> Subject: [plug] authentication and accounting on Squid
> 
> 
> Hi Folks!
> 
> Am just wondering if I can use Squid, in such a way that I 
> can restrict my 
> users to internet ( surfing )
> inside my LAN by username, at the same time tracking their 
> access usage. Is 
> that possible  with
> squid?
> 
> Any idea?

You can make use of squid's tag authenticate_program. Currently, I'm using
msyql_auth to authenticate internet access. mysql_auth is a program that
needs to be compiled. For the logging, I'm using sqmgrlog capable of
generating web based output. Bytes used, username, ip address, top sites,
top users and so on. ;-)

squid.conf:
-----------
authenticate_program /usr/sbin/mysql_auth
acl Internal_Users src 192.168.0.0/255.255.0.0
acl password proxy_auth REQUIRED
http_access allow Internal_Users password

hth!

-neil
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to