Re: [squid-users] cache_peer user:pass for specific MAC addr (or IP)

From: Robert Collins <robert.collins@dont-contact.us>
Date: 03 Aug 2001 22:38:44 +1000

On 03 Aug 2001 20:45:40 +1000, Chris Kleinschmidt wrote:
> Is it possible to specify different cache options for
> different request sources (by MAC or possibly by IP address),
> specifically a different user:password combination in the
> "cache_peer hostname type http_port icp_port options" line
> for requests from different machines?

So for a given set of users (by MAC or ip) you want a pre-coded upstream
credential set ? Do you need per-MAC/per-ip credentials or just one set?

uhmm, here's a possible approach:
create a new cache_peer with a login entry
cache_peer parent.foo.net parent 3128 3130 login=joe:bloggs

use cache_peer_access acl rules to limit who can access that cache peer.

Note: the cache peer _can be the origin server_.

Rob

> We have a small number of servers which we want to allow
> through the parent cache without having to provide manual
> authentication... or am I looking in the wrong direction
> for a solution?
> --
> christopherk@optusnet.com.au
Received on Fri Aug 03 2001 - 06:35:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:27 MST