On 5/08/2014 12:27 a.m., Squid user wrote:
> Hi Amos.
>
> Could you please be more specific?
>
> I cannot find any wccp-related directive in Squid named IIRC or similar.
IIRC = "If I Recall Correctly".
I am basing my answer on code knowledge I gained a year or two back.
Just re-checked the code and confirmed. The flag names on
wccp2_service_info are the same for both hash and mask methods. What
they do is different and hard-coded into Squid.
For mask assignment the static mask of 0x00001741 is sent from Squid for
each of the fields you configure a flag for.
http://www.squid-cache.org/Doc/config/wccp2_service_info/
Examples of what you need for your earlier requested config (Sorry about
the line wrap):
wccp2_service_info 80 protocol=tcp flags=src_ip_hash
priority=240 ports=80
with mask assignment method sets the mask to be 0x1741 on the packet
src-IP when protocol is TCP and dst-port 80.
wccp2_service_info 90 protocol=tcp flags=dst_ip_hash
priority=240 ports=80
with mask assignment method sets the mask to be 0x1741 on the packet
dst-IP when protocol is TCP and dst-port 80.
Amos
Received on Wed Aug 06 2014 - 09:16:58 MDT
This archive was generated by hypermail 2.2.0 : Wed Aug 06 2014 - 12:00:04 MDT