[squid-users] WCCP Howto RHEL3.1 w/ 2.4.x kernel

From: Chad Harrelson <coinflasher@dont-contact.us>
Date: Mon, 13 Nov 2006 22:38:31 -0500

I am trying DESPRATELY to get Cisco, Linux, WCCP, Squid, and ip_gre to
all play nicely together. I am running RHEL 3.1 with a 2.4.21-37.EL
kernel. Squid is version squid-2.5.STABLE3-6.3

I started off following the instructions on the FAQ:
http://www.squid-cache.org/Doc/FAQ/FAQ-17.html#ss17.13
Since then, I have tried several different senerios and combinations
of ip_gre and ip_wccp but none seem to work. In every senerio the
router sees the squid box and says it is redirecting data. However,
tcpdump does not show any traffic (other than the 2048 UDP control
packets) and my access log is not growing.
Currently I have applied Joe's patch for ip_gre but the same symptoms
exist. Below I have pasted the results of my current setup.

webc2:~#modprobe ip_gre
webc2:~# lsmod
Module Size Used by Not tainted
iptable_nat 22744 1 (autoclean)
ip_conntrack 29736 1 (autoclean) [iptable_nat]
ip_tables 16544 3 [iptable_nat]
ip_gre 11968 0
e1000 94108 2
sg 37356 0 (autoclean)
microcode 6848 0 (autoclean)
keybdev 2976 0 (unused)
mousedev 5624 0 (unused)
hid 22500 0 (unused)
input 6144 0 [keybdev mousedev hid]
ehci-hcd 20776 0 (unused)
usb-uhci 26828 0 (unused)
usbcore 81120 1 [hid ehci-hcd usb-uhci]
mptscsih 42508 4
mptbase 49396 3 [mptscsih]
diskdumplib 5228 0 [mptscsih mptbase]
ext3 90056 3
jbd 55348 3 [ext3]
sd_mod 14128 8
scsi_mod 115628 3 [sg mptscsih sd_mod]

webc2:~# ifconfig gre0 127.0.0.2
webc2:~# ifconfig gre0
gre0 Link encap:UNSPEC HWaddr
00-00-00-00-FF-00-00-00-00-00-00-00-00-00-00-00
          inet addr: 127.0.0.2 Mask: 255.0.0.0
          UP RUNNING NOARP MTU:1476 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:54 dropped:0 overruns:0 carrier:0
          collisions:54 txqueuelen:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

webc2:~# lsmod
Module Size Used by Not tainted
iptable_nat 22744 1 (autoclean)
ip_conntrack 29736 1 (autoclean) [iptable_nat]
ip_tables 16544 3 [iptable_nat]
ip_gre 11968 1

webc2:~# iptables -t nat -A PREROUTING -i gre0 -p tcp -m tcp --dport
80 -j DNAT --to-destination 150.125.125.114:80

webc2:~# cat /etc/squid/squid.conf
--trimmed--
wccp_router 150.125.125.98
http_port 80
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

The Cisco setup is pretty simple and standard. Again, if you can
offer any advice I would greatly appreciate it.

Thanks,

-- Chad
Received on Mon Nov 13 2006 - 20:38:40 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST