On Thu, 4 Mar 2010 12:48:56 +1100, "Michael Bowe" <mbowe@xxxxxxxxxxxxxxx> wrote: >> -----Original Message----- >> From: Michael Bowe [mailto:mbowe@xxxxxxxxxxxxxxx] > >> > From: senthilkumaar2021 [mailto:senthilkumaar2021@xxxxxxxxx] > >> > 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