Re: [squid-users] WCCP

This is a discussion on Re: [squid-users] WCCP within the Squid Users forums, part of the Web Server and Related Forums category; On Tuesday 12 August 2003 18.49, Paul.Fiero@ci.austin.tx.us wrote: > I am looking at some ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-13-2003
Henrik Nordstrom
 
Posts: n/a
Default Re: [squid-users] WCCP

On Tuesday 12 August 2003 18.49, Paul.Fiero@ci.austin.tx.us wrote:
> I am looking at some documentation on installing and configuring
> WCCP for use with squid. However those docs are for RedHat Linux
> v7.1 with a 2.4.9 kernel and squid 2.4.STABLE2. I am running
> RedHat Linux 9 with a 2.4.20 kernel and squid 2.5.STABLE3.


The ip_wccp module linked from the Squid FAQ works with any Linux-2.4
release.

> I need to get WCCP running and seem to have problems getting my
> fingers around the concept. I have seen a couple different docs
> for older versions of Linux, one says I have to have wccp AND gre
> installed, one just calls for gre.


You can only have one installed at a time.

You can select if you want to use the WCCP-specific ip_wccp module, or
a patched gre module with support for WCCP added.

> I am following the docs for the previously mentioned install but I
> can't seem to compile the wccp module.


What have you tried, and what error do you get.


A almost fail-safe method of building the ip_wccp module is to

1. Build and install your own kernel. Take note what the gcc lines
typically look like while running "make modules".

2. Reboot into this new kernel to verify that it works fine before
continuing.

3. Compile the ip_wccp module using a command line which looks a lot
like the line noted in step '1' above, but specifying the ip_wccp.c
module instead of the other module which the line was for.

3. Install the resulting ip_wccp.o module in
/lib/modules/<kernelversion>/net/

4. Run "depmod -a".

5. Run "modprobe ip_wccp" to load the ip_wccp module.

Regards
Henrik


--
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/busine...quid-cache.org

If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Reply With Quote
  #2 (permalink)  
Old 08-13-2003
Paul Fiero
 
Posts: n/a
Default Re: [squid-users] WCCP

hno@squid-cache.org (Henrik Nordstrom) wrote in message news:<bhbrji$246m$1@FreeBSD.csie.NCTU.edu.tw>...
> On Tuesday 12 August 2003 18.49, Paul.Fiero@ci.austin.tx.us wrote:
> > I am looking at some documentation on installing and configuring
> > WCCP for use with squid. However those docs are for RedHat Linux
> > v7.1 with a 2.4.9 kernel and squid 2.4.STABLE2. I am running
> > RedHat Linux 9 with a 2.4.20 kernel and squid 2.5.STABLE3.

>
> The ip_wccp module linked from the Squid FAQ works with any Linux-2.4
> release.
>
> > I need to get WCCP running and seem to have problems getting my
> > fingers around the concept. I have seen a couple different docs
> > for older versions of Linux, one says I have to have wccp AND gre
> > installed, one just calls for gre.

>
> You can only have one installed at a time.
>
> You can select if you want to use the WCCP-specific ip_wccp module, or
> a patched gre module with support for WCCP added.
>
> > I am following the docs for the previously mentioned install but I
> > can't seem to compile the wccp module.

>
> What have you tried, and what error do you get.
>
>
> A almost fail-safe method of building the ip_wccp module is to
>
> 1. Build and install your own kernel. Take note what the gcc lines
> typically look like while running "make modules".
>
> 2. Reboot into this new kernel to verify that it works fine before
> continuing.
>
> 3. Compile the ip_wccp module using a command line which looks a lot
> like the line noted in step '1' above, but specifying the ip_wccp.c
> module instead of the other module which the line was for.
>
> 3. Install the resulting ip_wccp.o module in
> /lib/modules/<kernelversion>/net/
>
> 4. Run "depmod -a".
>
> 5. Run "modprobe ip_wccp" to load the ip_wccp module.
>
> Regards
> Henrik


Henrik, I got your post. I have chosen to go with the gre tunnel as
that already has a module in place and I can run all the commands as
designated in the FAQ. At this point, I assume that I need to set up
iptables on my server to forward the requests and I also guess I need
to set up my router with the proper WCCP statements?

What I am wondering at this point is whether or not the router talking
WCCP will know how to communicate with my squid server talking gre.
Am I missing something here?

Paul Fiero
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0