Yes it certainly is possible to chain squid proxies. They can even 
exchange cached data between themselves if setup correctly. Once apon a 
time we routed traffic to one proxy through a traffic shaper to limit 
bandwidth usage of non-business sites (ie sites we didn't define). Now 
squid has inbuilt delay pools. One thing to consider is that adding 
infinite proxies does not speed up the web. There's a tradeoff somewhere 
where too many proxies starts working against you as the latency increases 
with each one.

As for maintaining the acl's on both proxies maybe there's some way of 
including files in the config. I couldn't find it in the documentation in 
/usr/share/doc/squid-2.4.STABLE1 on my machine though.

On Tue, 12 Feb 2002, Hartono, Susanto wrote:

> G'day,
> 
> Just wondering if anyone here has had any experience with daisy-chaining
> squid proxy servers. In particular I am interested to know if the following
> scenario is possible:
> 
> User-->ProxyA-->ProxyB1-->..->ProxyBn-->ServerA
>           |
>            ---->ProxyC1-->..->ProxyCn-->ServerB
> 
> 1. User specifies a proxy server (ProxyA) in his browser.
> 2. Request from proxyA is then redirected to either ProxyB1 or ProxyC1
> depending on the name of the destination servers (host names, not domain
> names).
> 
> Is it possible to use url_regex in squid.conf to redirect the user to
> another proxy server? For instance, given the following url_regex, how would
> I redirect acl 'subnetA' to use ProxyB1 and vice versa?
> 
> acl subnetA url_regex ^http://server1*
> acl subnetB url_regex ^http://server2*
> 
> Auto-proxying is quite easy to do using javascript (e.g. proxy.pac) - by
> simply skipping ProxyA and going directly to either ProxyB1 or ProxyC1.
> However, this requires me to constantly update the acls on both proxies when
> new users are added, which can be a real pain.
> 
> Please feel free to share your ideas.
> 
> 
> Thanks,
> SH
> 

-- 
---<GRiP>--- 
Web: www.arcadia.au.com/gripz 
Answering Machine/fax: 02 4950 1194 (wait 5 mins if no answer)
Mobile: 0408 686 201

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to