[squid-users] cache peering question

2006-09-01 Thread Daniel Appleby

Hi,

Just a question about cache_peering. If you have proxys setup in a 
sibling relationship does one proxy require authentication to access 
cache of another proxy if both proxys use prxoy_auth?


i.e. does proxy A have to auth to proxy B in ordered to get its cache?

Thanks in Advance
Regards
Daniel


Re: [squid-users] cache peering question

2006-09-01 Thread Adrian Chadd
On Sat, Sep 02, 2006, Daniel Appleby wrote:
 Hi,
 
 Just a question about cache_peering. If you have proxys setup in a 
 sibling relationship does one proxy require authentication to access 
 cache of another proxy if both proxys use prxoy_auth?
 
 i.e. does proxy A have to auth to proxy B in ordered to get its cache?

The proxy doesn't have to entirely require authentication.

Ie, the ACLs are:

acl proxy_hosts src 1.1.1.1 1.1.1.2 1.1.1.3 1.1.1.4
acl local src 192.168.0.0/16
acl proxyauth proxy_auth REQUIRED

http_access allow proxy_hosts
http_access allow lcl proxyauth
http_access deny all

This way the proxy_hosts have access without needing to authenticate.

That said, I believe you can configure up basic authentication in
the cache_peer line.




adrian



[squid-users] cache peering question

2005-08-25 Thread Raj Kumar Gurung
Hi list

i have configured two squid servers running Redhat 9.My current
configuration for cache_peer  is as :
CACHE 1:
cache_peer cache2.xxx.comsibling3128  3130 proxy-only
icp_port 3130

CACHE 2:
cache_peer cache1.xxx.comsibling3128  3130 proxy-only
icp_port 3130

Both have GRE tunnels with cisco router.And we could see that the cisco
is behaving as it should with HASH ALLOTMENT of 50% share to each proxy
server.
But when i checked at the cachemgr.cgi menu, i could see large
difference in the number of clients accessing the cache.Is it normal ?
or do i need to tweak some configurations.

Thanks in advance.