RE: [squid-users] Regarding wccp

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 04 Mar 2010 18:23:09 +1300

On Thu, 4 Mar 2010 12:48:56 +1100, "Michael Bowe" <mbowe_at_pipeline.com.au>
wrote:
>> -----Original Message-----
>> From: Michael Bowe [mailto:mbowe_at_pipeline.com.au]
>
>> > From: senthilkumaar2021 [mailto:senthilkumaar2021_at_gmail.com]
>
>> > wccp2_service_info 80 protocol=tcp flags=dst_ip_hash priority=240
>> > ports=80
>> > wccp2_service_info 90 protocol=tcp flags=src_ip_hash,ports_source
>> > priority=240 ports=80
>> >
>> > (for router ip replaced the gateway ip of the squid machine)
>>
>> I think you have the hash stuff wrong, isn't service 80 meant to be
>> src_ip_hash and service 90 meant to be dst_ip_hash?
>
> Interesting, there seems to be conflicting advice in the wiki
>
> This page here
> http://wiki.squid-cache.org/ConfigExamples/FullyTransparentWithTPROXY
> shows it (from Steve Wilton):
> 80 src_ip_hash
> 90 dst_ip_hash,ports_source
>
> And then further down the page shows it:
> 80 dst_ip_hash
> 90 src_ip_hash,ports_source
>
> And this page
> http://wiki.squid-cache.org/Features/Tproxy4
> shows it (from Steve Wilton):
> 80 dst_ip_hash
> 90 src_ip_hash,ports_source
>
> On my busy TPROXY4 clusters we have it:
> 80 src_ip_hash
> 90 dst_ip_hash,ports_source
>
> Hmm, which way is actually correct?
>
> Michael.

AFAIK they are arbitrary tag labels. If anyone can confirm/deny that with
certainty it would be a help.

The wiki needs updating to be consistent shortly anyway. Thanks for
noticing that.

Amos
Received on Thu Mar 04 2010 - 05:23:12 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 04 2010 - 12:00:06 MST