[squid-users] Enforcing authentication for specific IP addresses

From: Andrew Hodgson <Andrew.Hodgson@dont-contact.us>
Date: Tue, 5 Feb 2008 16:06:26 +0000

Hi,

I have a Squid server used on a test network.  I want to allow some users to authenticate through the proxy if they are on specific IP addresses, to test software functionality, using basic authentication.  However, the rest of the clients should go through without authentication.

I have ACLS such as:

Acl Authenticated_IPs src 10.10.10.50 10.10.10.51 proxy_auth REQUIRED
Acl Test_Network src 10.10.10.0/24 10.10.30.0/24
http_access allow Authenticated_IPs
http_access allow Test_Network

This obviously doesnt work because the proxy_auth REQUIRED bit at the end of the first ACL is not understood by the SRC part.  So is there any other way to get a similar configuration working?

Thanks.
Andrew.

--
allpay.net Limited, Fortis et Fides, Whitestone Business Park, Whitestone, Hereford, HR1 3SE.
Registered in England No. 02933191. UK VAT Reg. No. 666 9148 88.

Telephone: 0870 243 3434, Fax: 0870 243 6041.
Website: www.allpay.net
Email: enquiries@allpay.net

This email, and any files transmitted with it, is confidential and intended solely for the use of the individual or entity to whom it is addressed. If you have received this email in error please notify the allpay.net Information Security Manager at the number above.
Received on Tue Feb 05 2008 - 09:06:36 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:04 MST