RE: [squid-users] Regarding wccp

From: Michael Bowe <mbowe_at_pipeline.com.au>
Date: Thu, 4 Mar 2010 12:48:56 +1100

> -----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.
Received on Thu Mar 04 2010 - 01:48:58 MST

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