[squid-users] Cisco + Linux-2.4 + Squid 2.4S2 WCCP 3/4 problem

From: Mika Aleksandroff <mika.aleksandroff@dont-contact.us>
Date: Sun, 09 Sep 2001 17:46:17 +0300

Jop,

I have a WCCP problem. I am in transition to install a new server in place of the old one. At the same time, due to other changes in our network I've been trying to get WCCP working. Yesterday I thought I got it (with version 3) but for some reason it's not working anymore today. At the moment I feel a bit stuck... :-(

SETUP:
        cache-1:
                Linux 2.4.9
                - Redirecting port 80 --> Squid port with ipchains
                  (not yet moved to using iptables)
        cache-2:
                Linux 2.2.18
                - Redirecting port 80 --> Squid port with ipchains

        Squid 2.4S2

        Cisco 6509 IOS 12.0:
            Global:
                ip wccp version 1
                ip wccp web-cache
            Interface to internet:
                ip wccp web-cache redirect out

STATUS:

Squid WCCP version 4 - "almost" works, packets disappear?
- browsing is difficult as if some packets get lost or something, difficulties especially downloading images (example: slashdot.org loads almost none of the images)

Squid WCCP version 3 - doesn't work, Cisco doesn't redirect
- Our 65xx router sees the Squid(s) but won't redirect any traffic (with or without specific access-list). The same access list works if the Squid WCCP is set version 4

WCCP packets Cisco sees:
01:02:54: WCCP-PKT: Received valid Here_I_Am packet from cache-1 w/rcvd_id 00000172
01:02:54: WCCP-PKT: Sending I_See_You packet to cache-1 w/ rcvd_id 00000174
01:02:56: WCCP-PKT: Received valid Here_I_Am packet from cache-2 w/rcvd_id 00000173
01:02:56: WCCP-PKT: Sending I_See_You packet to cache-2 w/ rcvd_id 00000175

Cache-Engine details:
WCCP Cache-Engine information:
        IP Address: cache-1
        Protocol Version: 0.3
        State: Usable
        Initial Hash Info: 00000000000000000000000000000000
                               00000000000000000000000000000000
        Assigned Hash Info: 00000000000000000000000000000000
                               00000000000000000000000000000000
        Hash Allotment: 0 (0.00%)
        Packets Redirected: 0
        Connect Time: 00:23:30

        IP Address: cache-2
        Protocol Version: 0.3
        State: Usable
        Initial Hash Info: 00000000000000000000000000000000
                               00000000000000000000000000000000
        Assigned Hash Info: 00000000000000000000000000000000
                               00000000000000000000000000000000
        Hash Allotment: 0 (0.00%)
        Packets Redirected: 0
        Connect Time: 00:04:57

Now when I change the other one to version 4:

01:12:13: WCCP-EVNT: Here_I_Am packet from cache-1 w/bad rcvd_id 000001DC
01:12:13: WCCP-PKT: Sending I_See_You packet to cache-1 w/ rcvd_id 000001E0
01:12:24: WCCP-EVNT: Here_I_Am packet from cache-1 w/bad rcvd_id 000001DC
01:12:24: WCCP-PKT: Sending I_See_You packet to cache-1 w/ rcvd_id 000001E2
01:12:33: WCCP-EVNT: Built I_See_You msg body w/1 usable web caches, change # 00000014
01:12:33: %WCCP-1-CACHELOST: Web Cache cache-1 lost
01:12:49: %WCCP-5-CACHEFOUND: Web Cache cache-1 acquired
01:12:49: WCCP-PKT: Sending I_See_You packet to cache-1 w/ rcvd_id 000001E6
01:12:59: WCCP-EVNT: Built I_See_You msg body w/2 usable web caches, change # 00000015

crais#sh ip wcc web-cache detail
WCCP Cache-Engine information:
        IP Address: cache-1
        Protocol Version: 0.4
        State: Usable
        Initial Hash Info: 00000000000000000000000000000000
                               00000000000000000000000000000000
        Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                               FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        Hash Allotment: 256 (100.00%)
        Packets Redirected: 272
        Connect Time: 00:01:11

        IP Address: cache-2
        Protocol Version: 0.3
        State: Usable
        Initial Hash Info: 00000000000000000000000000000000
                               00000000000000000000000000000000
        Assigned Hash Info: 00000000000000000000000000000000
                               00000000000000000000000000000000
        Hash Allotment: 0 (0.00%)
        Packets Redirected: 0
        Connect Time: 00:01:10

So now I have traffic redirecting but browsing doesn't work 100%...

Any ideas, anyone? I'd be happy to use the "version 4" if only I can make it actually work... :-)

Also, this setup seems to work as well/bad with or without the ip_wccp-module, go figure..

I've been reading WCCP v2 availability for Joe's Squid-package, is there any possibility to make it work with 2.4S2?

Thanks in advance.

Behave,
             Mika A, ATK-Keskus
             Kymenlaakso Polytechnic
Received on Sun Sep 09 2001 - 08:46:53 MDT

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