No problem:
squid.conf, compile the ncsa_auth program:
authenticate_program /usr/local/squid/bin/ncsa_auth /usr/local/squid/etc/passwd
authenticate_children 5
authenticate_ttl 3600
The file /usr/local/squid/etc/passwd contains:
uid:password, where the uid/password is grabed from /etc/passwd
squid.conf, the acl, where /usr/local/squid/etc/proxyusers contains valid uid's:
acl passwdauth proxy_auth "/usr/local/squid/etc/proxyusers"
sqiud.conf, allow acl passwauth access to the cache:
http_access allow all passwdauth
Please notify me, if you still have any problems
Best regards
Thomas Hansen
tmh@manbw.dk
-----Original Message-----
From: scott_harbin@TSTNA.com [mailto:scott_harbin@TSTNA.com]
Sent: 15. september 1999 15:12
To: Thomas Hansen tmh. /Copenhagen
Subject: RE: squid proxy access: one user per. PC
Thomas,
This has nothing to do with your question but I have a question for you...
How do you have it setup to accept userid/password when accessing the proxy
? I tried it with proxy_auth and authorization_program /usr/bin/passwd
settings within the squid.conf... Can you tell me how yours is configured ?
Thanks!
Scott Harbin, MCP
Corporate Network Administrator
TS Trim Industries, Inc.
Phone: (614) 837-4114
Fax: (614) 837-4127
<<...>>
-----Original Message-----
From: Thomas.Hansen.tmh./Copenhagen@manbw.dk
[mailto:Thomas.Hansen.tmh./Copenhagen@manbw.dk]
Sent: Wednesday, September 15, 1999 5:48 AM
To: squid-users@ircache.net
Subject: squid proxy access: one user per. PC
Hello Squid Users
I am using squid as a proxy server:
Squid Cache: Version 2.2.STABLE4
Redhat 6.0
Kernel: 2.2.5-15
I have set up an ACL list with users allowed to use the
proxy, my problem is that my users are giving away there password, and
therefore anyone who can setup their explorer to point to the proxy and
know's a userid/password combination is allowed on to the internet.
Is there anyway I can prevent the same userid to access the
cache with more than one instant, i.e. if userid tmh is connected from pc
172.16.1.1, "another" tmh cannot access the cache from pc 172.16.1.2?
Best regards
Thomas Hansen
tmh@manbw.dk
Received on Wed Sep 15 1999 - 11:27:39 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:25 MST