RE: RE: RE: [squid-users] WCCP help

From: John Hally <[email protected]>
Date: Mon, 29 Sep 2003 11:50:29 -0400

Thanks Venkatesh and Damien. Looks like squid is NOT accepting the packets.
The debug output is showing the ICMP unreachables. My next question is, how
do I compile in the ip_wccp.c module? I'm running Redhat 8

Thanks in advance,

John H.

-----Original Message-----
From: Venkatesh. K [mailto:venkatesh@cbayscribe.com]
Sent: Friday, September 26, 2003 10:50 PM
To: John Hally
Subject: Re: RE: RE: [squid-users] WCCP help

Here is quick check list for enabling WCCP with Linux/Squid

1. You need wccp module for the kernel or you need a patched GRE kernel. I
don't have the URL for ip_wccp.c with me right now. You should be able to
find it in list archives or google "squid wccp"

2. Please note Cisco WCCP redirects the www packets to the cache box and
still packet destination is port 80. You need to have a redirect entry in
iptables in Linux box.
/sbin/iptables -t nat -I PREROUTING -p tcp --dport www -j REDIRECT 3128

3. You need to enable the wccp in squid.

Venkatesh K

----- Original Message -----
From: "John Hally" <JHally@epnet.com>
To: "'Farrukh Mahmood'" <farrukh_mahmood@eworld.net.pk>
Cc: <squid-users@squid-cache.org>
Sent: Thursday, September 25, 2003 11:29 PM
Subject: RE: RE: RE: [squid-users] WCCP help

>
> Running squid on RedHat 8.0, and not sure if I'm using port redirections.
> How can i tell?
>
> Thanks for all the help Farrukh!
>
>
> -----Original Message-----
> From: Farrukh Mahmood [mailto:farrukh_mahmood@eworld.net.pk]
> Sent: Thursday, September 25, 2003 1:31 PM
> To: John Hally
> Cc: 'Farrukh Mahmood'; 'squid-users@squid-cache.org'
> Subject: Re: RE: RE: [squid-users] WCCP help
>
>
> hi
> wht OS u r using for squid is linux or somthing else
> and r u using port redirections on it
>
> Regards
> Farrukh Mahmood
>
> ----- Original Message -----
> From: John Hally <JHally@epnet.com>
> Date: Thursday, September 25, 2003 10:31 pm
> Subject: RE: RE: [squid-users] WCCP help
>
> > Just tried that, and it didn't work. I'm in the 12.2 IOS train,
> > but figured
> > I'd try anyway.
> >
> >
> >
> > -----Original Message-----
> > From: Farrukh Mahmood [mailto:farrukh_mahmood@eworld.net.pk]
> > Sent: Thursday, September 25, 2003 12:24 PM
> > To: John Hally
> > Cc: 'Farrukh Mahmood'; 'squid-users@squid-cache.org'
> > Subject: Re: RE: [squid-users] WCCP help
> >
> >
> > hi
> >
> > try this in ur squid.conf
> >
> >
> > wccp_version 3
> >
> > Regards
> > Farrukh Mahmood
> >
> >
> >
> > ----- Original Message -----
> > From: John Hally <JHally@epnet.com>
> > Date: Thursday, September 25, 2003 9:27 pm
> > Subject: RE: [squid-users] WCCP help
> >
> > > yup,
> > >
> > > that shows that it knows about the cache device and that its
> > > redirectingpackets, so the router config looks ok. It feels
> > like
> > > I'm dealing with an
> > > acl or something in the squid.conf file and the redirects are
> > getting> denied.
> > >
> > > I'm not sure where the problem lies, but with WCCP disabled I
> > can
> > > point my
> > > browser at the squid cache, get results and see entries in the
> > > cache logs.
> > > I can also simply not proxy and get results, but if I turn on
> > > WCCP, the
> > > browser spins, and then gets 'connection refused' msgs.
> > >
> > > Does anyone who has WCCP working feel like donating a sample
> > > squid.conf file
> > > for me to compare to?
> > >
> > > thanks
> > >
> > > -----Original Message-----
> > > From: Farrukh Mahmood [mailto:farrukh_mahmood@eworld.net.pk]
> > > Sent: Thursday, September 25, 2003 11:58 AM
> > > To: John Hally
> > > Subject: Re: [squid-users] WCCP help
> > >
> > >
> > > hi
> > >
> > >
> > > check this command on ur router sh ip wccp web_cache detail
> > >
> > > does it shows u some thing and second thing how u know that ur
> > > cache is
> > > not working.
> > >
> > >
> > > Regards
> > > FArrukh Mahmood
> > >
> > > ----- Original Message -----
> > > From: John Hally <JHally@epnet.com>
> > > Date: Thursday, September 25, 2003 8:59 pm
> > > Subject: [squid-users] WCCP help
> > >
> > > > Hello Everyone,
> > > >
> > > > I searched the archives and ran thru the 600+ threads I found,
> > > but
> > > > eithermissed something or couldn't find the answer. The
> > problem
> > > > I'm having is
> > > > this. I set up WCCP on my Cisco router and see that its
> > > > redirecting packets
> > > > to the cache (using the sh ip wccp cmds), but it looks as
> > though
> > > > the cache
> > > > never services the request. Here's what I've done:
> > > >
> > > > On squid box:
> > > >
> > > > (From http://www.squid-cache.org/Doc/FAQ/FAQ-17.html)
> > > >
> > > > http_port 8080
> > > > httpd_accel_host virtual
> > > > httpd_accel_port 80
> > > > httpd_accel_with_proxy on
> > > > httpd_accel_uses_host_header on
> > > >
> > > > wccp_router xxx.xxx.xxx.xxx (router ip)
> > > > wccp_version 4
> > > >
> > > >
> > > > On the router:
> > > >
> > > > (global config)
> > > > ip wccp version 1
> > > > ip wccp web-cache (only care about http traffic at the moment)
> > > >
> > > > int fa0/0
> > > >
> > > > ip wccp web-cache redirect in
> > > >
> > > >
> > > > as soon as I add the entry to the interface, web browsing
> > comes
> > > to a
> > > > screeching halt and I get 'connection refused' messages from
> > the
> > > > browserafter ~30 seconds.
> > > >
> > > > Has anyone had any luck with WCCP and/or can tell me what I
> > may
> > > be
> > > > doingwrong?
> > > >
> > > > Thanks a TON in advance,
> > > >
> > > > John H.
> > > >
> > > >
> > >
> > >
> >
> >
>
Received on Mon Sep 29 2003 - 09:44:40 MDT

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