Re: [squid-users] How to enable wccp using squid-2.6-PRE2?

From: Bin Liu <binliu.lqbn@dont-contact.us>
Date: Mon, 12 Jun 2006 14:37:18 +0800

> Hmm.. should have been enabled by default.. Fixed. A small typo
> prevented WCCP (v1) from being enabled at all.. (done)
>
For the latest squid-2.6.PRE2-20060612, WCCP (v1) works fine. All OK.
Nice job, thanks.

> > #
> > # TAG: wccp2_router
> > # Use this option to define your WCCP ``home'' router for
> > # Squid.
>
> This should work, but you also need a few other directives for WCCPv2.
> See doc/README.wccp2.
>
> I'll fix this up so wccp2_router is the minimum requiremnt. (done)
>

Still have some problems:

1. I can't find the file README.wccp2 under doc directory, I'm using
squid-2.6.PRE2-20060612.tar.gz.

2. Using the standard configure posted with WCCPv2 patch
(http://squid.cvs.sourceforge.net/*checkout*/squid/squid/doc/README.wccpv2?revision=1.1.2.1&pathrev=wccp2-2_5)

wccp2_router 192.168.1.254:2048
wccp2_version 4
wccp2_forwarding_method 1
wccp2_return_method 1
wccp2_service standard 0

# sbin/squid -k parse
2006/06/12 14:31:28| parseConfigFile: line 128 unrecognized: 'wccp2_version 4'

3. Comment the unrecognized line, left the other lines unchanged,
squid reports FATAL error:

2006/06/12 14:36:42| WCCP Disabled.
2006/06/12 14:36:42| Accepting WCCPv2 messages on port 2048, FD 14.
2006/06/12 14:36:42| Initialising all WCCPv2 lists
FATAL: Unable to disconnect WCCP out socket
Abort
Received on Mon Jun 12 2006 - 00:37:20 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:01 MDT