Re: [squid-users] problem using squid as proxy server to load balance reverse-proxies

From: Sri Rao <sri_at_cloudflare.com>
Date: Fri, 11 Feb 2011 09:37:14 -0800

Hi Amos,

>>>>
>>>> I am trying to setup squid as a ssl proxy to load balance btwn
>>>> reverse-proxies.  I believe the config is right but what is happening
>>>
>>> What you have setup is a forward proxy load balancer which only permits
>>> management and binary-over-HTTP tunneled traffic from its localhost
>>> machine
>>> IP.
>>
>> That is actually what I want.  I want to do binary-over-HTTP from the
>> localhost to the reverse-proxy servers.  When the forward proxy tries
>> to connect to the origin server directly it does a tunnelConnect but
>> even though I have set originserver for the cache_peers it seems to
>> just forward the CONNECT instead of doing a tunnelConnect.  I thought
>> originserver should force squid to treat the cache_peers as if they
>> were web servers?
>
>
> It should. You seem to have found a bug there. I've added a fix for that
> now.

Where can I grab the fix?

> A secondary problem in your config was "never_direct allow sp_test" - since
> sp_test always matches direct tunnel setup (tunnelConnect) is not permitted.

yeah I never want it to go direct to the origin. I want it to connect
to the peers but as the originserver which should still be
tunnelConnect right?

Thanks,

Sri
Received on Fri Feb 11 2011 - 17:37:23 MST

This archive was generated by hypermail 2.2.0 : Sat Feb 12 2011 - 12:00:02 MST