Re: [squid-users] WCCPV2

From: Masood Ahmad Shah <masood@dont-contact.us>
Date: Thu, 21 Aug 2003 18:12:01 +0500

hmm it seems to be all fine except .. you have not defind on your WCCP
router redirection of wccp packets... like

on your wccp WAN interface put

ip wccp redirect out

it will work like charm :)

-- 
Best Regs,
Masood Ahmad Shah
System Administrator
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
|   * * * * * * * * * * * * * * * * * * * * * * * *
|   Fibre Net (Pvt) Ltd. Lahore, Pakistan
|   Tel: +92-42-6677024
|   Mobile: +92-300-4277367
|   http://www.fibre.net.pk
|   * * * * * * * * * * * * * * * * * * * * * * * *
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
----- Original Message ----- 
From: "Jason Chin" <jchin@lisacommunications.com>
To: <squid-users@squid-cache.org>
Sent: Thursday, August 21, 2003 4:29 PM
Subject: [squid-users] WCCPV2
| Hi guys, im trying to get squid with wccpv2 running on a Redhat 8.0 box
but
| im having some problems. Im using a Cisco 3661 Router with IOS 12.2(15)T1.
I
| have successfully patched and recompiled my kernel without any errors with
| the ip_wccp-2_4_18.patch found at squid.visolve.com. Im using Squid Cache
| version 2.5.STABLE3 which has also been patched without any errors using
the
| wccpv2.patch and built with options:
|
./configure --enable-async-io=120 --enable-removal-policies=heap --enable-ki
|
ll-parent-hack --enable-cachemgr-hostname=Alpha-Cache --enable-htcp --enable
| -linux-netfilter --disable-hostname-checks --enable-cache-digests --enable
-w
| ccpv2. The squid.conf is the same i use on my mini squid farm (4 redhat
8.0
| boxes running squid 2.5 stable 3 and wccpv1) changing only stuff like
| visible/unique_hostname and the new wccpv2 configs found after patching.
| Rules for transparent proxy has been configured on the squid box
| /sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j
| REDIRECT --to-ports 3128. I have confirmed squid and the port redirection
is
| working by configuring my browser to use the squid server as its proxy at
| port 80 and 3128.
| The Router and the squid wccpv2 box seem to be communicating with wccpv2:
|
| 2003/08/21 07:15:05| WCCP2 Assigning Redirect
| 2003/08/21 07:15:11| Incoming WCCP v2 I_SEE_YOU length 132.
| 2003/08/21 07:15:11| Incoming WCCP2_I_SEE_YOU received id = 4.
| 2003/08/21 07:15:11| Incoming WCCP2_I_SEE_YOU member change = 0 tmp=2.
| 2003/08/21 07:15:11| Incoming WCCP2_I_SEE_YOU member change = 2.
| 2003/08/21 07:15:22| Incoming WCCP v2 I_SEE_YOU length 132.
| 2003/08/21 07:15:22| Incoming WCCP2_I_SEE_YOU received id = 5.
| 2003/08/21 07:15:22| Incoming WCCP2_I_SEE_YOU member change = 2 tmp=2.
| 2003/08/21 07:15:33| Incoming WCCP v2 I_SEE_YOU length 132.
| 2003/08/21 07:15:33| Incoming WCCP2_I_SEE_YOU received id = 6.
|
| WCCP-EVNT:S00: Built new router view: 0 routers, 0 usable web caches,
change
| # 00000001
| WCCP-PKT:S00: Sending I_See_You packet to 192.168.1.10 w/ rcv_id 00000001
| Aug 21 11:03:31: %WCCP-5-CACHEFOUND: Web Cache 192.168.1.10 acquired
| WCCP-PKT:S00: Received valid Here_I_Am packet from 192.168.1.10 w/rcv_id
| 00000001
| WCCP-EVNT:S00: Built new router view: 1 routers, 1 usable web caches,
change
| # 00000002
| WCCP-PKT:S00: Sending I_See_You packet to 192.168.1.10 w/ rcv_id 00000002
| WCCP-PKT:S00: Received valid Here_I_Am packet from 192.168.1.10 w/rcv_id
| 00000002
| WCCP-PKT:S00: Sending I_See_You packet to 192.168.1.10 w/ rcv_id 00000003
|
| CORE-ROUTER#sho ip wccp web-cache
| Global WCCP information:
|     Router information:
|         Router Identifier:                   208.246.26.1
|         Protocol Version:                    2.0
|
|     Service Identifier: web-cache
|         Number of Cache Engines:             1
|         Number of routers:                   1
|         Total Packets Redirected:            0
|         Redirect access-list:                TEST
|         Total Packets Denied Redirect:       3778
|         Total Packets Unassigned:            2090
|         Group access-list:                   -none-
|         Total Messages Denied to Group:      0
|         Total Authentication failures:       0
|
| CORE-ROUTER#sho ip wccp web-cache detail
| WCCP Cache-Engine information:
|         Web Cache ID:          192.168.1.10
|         Protocol Version:      2.0
|         State:                 Usable
|         Initial Hash Info:     00000000000000000000000000000000
|                                00000000000000000000000000000000
|         Assigned Hash Info:    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
|                                FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
|         Hash Allotment:        256 (100.00%)
|         Packets Redirected:    0
|         Connect Time:          00:00:55
|
| However there is no activity in my squid access.log and surfing does not
| work once wccpv2 is enabled on the router. Can anyone assist? Thanking you
| in advance.
|
| -Jason
|
|
|
|
Received on Thu Aug 21 2003 - 07:13:01 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:02 MST