Re: [wccpd-devel] wccpd and squid talk but still no redirecting
Status: Alpha
Brought to you by:
ejbs
|
From: Eduardo J. B. <ej...@us...> - 2003-09-22 16:58:10
|
On Sun, 2003-09-21 at 07:58, Matthew Rex wrote: > Hi, > Hi! > I've got a (user) problem with wccpd/ipvs/squid. > > I have patched and rebuilt a 2.4.22 kernel with ipvs, installed wccpd > from RPM on a linux router and started everything up. I have wccpd and > squid exchanging I See You messages and wccpd reports one cache found > and usable on startup. > > ipvsadm reports: > IP Virtual Server version 1.0.10 (size=4096) > Prot LocalAddress:Port Scheduler Flags > -> RemoteAddress:Port Forward Weight ActiveConn InActConn > FWM 128 wlc > -> hobbes.localdomain:0 Route 1 0 0 > > I've got iptables matching and marking packets with 0x80 on the linux > router but instead of redirecting to the cache, web traffic passes > through the box as normal. The cache does not see any traffic. > > Not sure where to look next... do I have to do anything with ipvs? Or > does wccpd take care of all that? > > I have the client and squid box on the same subnet, a valid setup as I > understand it. > If squid is on the same subnet as the client, remember to be careful about your firewalling rules to avoid loops. [ie. your squid machine will also use port 80] > Can anyone help? > Maybe your packets are not being routed to localhost (ipvs needs that). wccpd's scripts should take care of that.. but... Could you send me: - Relevant extracts of syslogd's messages - ip rule ls - ip route ls - iptables -vn -L -t mangle (relevant parts) Regards, -- Eduardo J. Blanco <ej...@us...> |