[squid-users] Squid + Cisco 4500 + WCCP2

From: Ioannis Pliatsikas <gpliats_at_ee.duth.gr>
Date: Fri, 20 Jul 2012 10:53:12 +0000

 I'm trying to setup a transparent proxy with squid using wccpv2 and a
 4507 (ios v15.1) Cisco switch.

 Tried using out of the box rpm package, 3.1.20 on Opensuse 12.1 with no
 luck. My cache.log kept filling with "Unknown capability type in WCCPv2
 Packet" messages.

 Compiled from source the same version with --enable-wccpv2 option but i
 keep getting the same errors.

 Cisco can see the proxy because i get

 show ip wccp web-cache detail --------------------------------

 WCCP Client information:
         WCCP Client ID: X.X.X.62 ---(Proxy address)
         Protocol Version: 2.0
         State: Usable
         Redirection: L2
         Packet Return: L2
         Assignment: MASK
         Connect Time: 17:20:03
         Redirected Packets:
           Process: 0
           CEF: 0
           Platform: 0
         GRE Bypassed Packets:
           Process: 0
           CEF: 0
           Platform: 0
         Mask Allotment: 64 of 64 (100.00%)

 Interesting part is that the messages on the cache.log appear every 10
 sec, same interval that cisco sends the ISY message.

 cache.log ------------------------------------------------

 2012/07/20 08:28:23| Unknown capability type in WCCPv2 Packet (4).
 2012/07/20 08:28:23| Unknown capability type in WCCPv2 Packet (5).
 2012/07/20 08:28:33| Unknown capability type in WCCPv2 Packet (4).
 2012/07/20 08:28:33| Unknown capability type in WCCPv2 Packet (5).
 2012/07/20 08:28:43| Unknown capability type in WCCPv2 Packet (4).
 2012/07/20 08:28:43| Unknown capability type in WCCPv2 Packet (5).
 2012/07/20 08:28:53| Unknown capability type in WCCPv2 Packet (4).
 2012/07/20 08:28:53| Unknown capability type in WCCPv2 Packet (5).
 2012/07/20 08:29:03| Unknown capability type in WCCPv2 Packet (4).
 2012/07/20 08:29:03| Unknown capability type in WCCPv2 Packet (5).
 2012/07/20 08:29:13| Unknown capability type in WCCPv2 Packet (4).
 2012/07/20 08:29:13| Unknown capability type in WCCPv2 Packet (5).

 cisco wccp debuging messages -------------------------------------

 Jul 20 05:30:33.815: WCCP-EVNT:S0: updating wc orig assign info
 Jul 20 05:30:33.815: WCCP-EVNT:S0: reuse wc orig mask info (28 bytes)
 Jul 20 05:30:33.815: WCCP-EVNT:S0: wc assignment validated
 Jul 20 05:30:33.815: WCCP-PKT:S0: Sending ISY to X.X.X.62, rcv_id:6260
 Jul 20 05:30:43.815: WCCP-EVNT:S0: updating wc orig assign info
 Jul 20 05:30:43.815: WCCP-EVNT:S0: reuse wc orig mask info (28 bytes)
 Jul 20 05:30:43.815: WCCP-EVNT:S0: wc assignment validated
 Jul 20 05:30:43.815: WCCP-PKT:S0: Sending ISY to X.X.X.62, rcv_id:6261
 Jul 20 05:30:53.816: WCCP-EVNT:S0: updating wc orig assign info
 Jul 20 05:30:53.816: WCCP-EVNT:S0: reuse wc orig mask info (28 bytes)
 Jul 20 05:30:53.816: WCCP-EVNT:S0: wc assignment validated
 Jul 20 05:30:53.816: WCCP-PKT:S0: Sending ISY to X.X.X.62, rcv_id:6262

 My SQUID configuration is ---------------------------

 http_port 3127 transparent

 wccp2_router X.X.X.1 ---(switch address)
 wccp2_rebuild_wait on
 wccp2_forwarding_method l2
 wccp2_return_method l2
 wccp2_assignment_method mask
 wccp2_service standard 0

 and Cisco config -----------------------------

 ip wccp web-cache

 interface vlan1 ---(Read that needs to be routed through it to work
 on switches)
 ip wccp web-cache redirect in

 No tunnel defined anywhere cause i assume it's not necessary on l2
 redirection
 Any ideas?

 Thank you in advance
 John
Received on Fri Jul 20 2012 - 10:53:14 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 25 2012 - 12:00:02 MDT