Re: [squid-users] Transparent proxy trouble [2]

From: Joe Cooper <joe@dont-contact.us>
Date: Tue, 31 Jul 2001 05:57:05 -0500

I've pointed out your problem below.

Sornchai Chatwiriyachai wrote:

> Thanks Joe for the ip_wccp patch but I have used the patch for my
> kernel 2.4.2 instead at
>
> http://aurora.dti2.net/parches/ip_wccp-2.4.2.patch
>
> after that I apply the patched by
>
> patch -p0 <ip_wccp-2.4.2.patch at /usr/src
>
> there were no errors so I assumed it went well.
>
> so I ran
>
> make xconfig
>
> so that my config looks like this
>
> # Networking options # CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not
> set # CONFIG_NETLINK is not set CONFIG_NETFILTER=y #
> CONFIG_NETFILTER_DEBUG is not set # CONFIG_FILTER is not set
CONFIG_UNIX=y
>

> CONFIG_INET=y # CONFIG_TUX is not set CONFIG_IP_MULTICAST=y #
> CONFIG_IP_ADVANCED_ROUTER is not set # CONFIG_IP_PNP is not set #
> CONFIG_NET_IPIP is not set CONFIG_NET_IPGRE=y CONFIG_NET_IPWCCP=y #
> CONFIG_NET_IPGRE_BROADCAST is not set # CONFIG_IP_MROUTE is not set
# CONFIG_INET_ECN is not set
> # CONFIG_SYN_COOKIES is not set
>
> then I recompile my kernel...the kernel boot up ok... so I created
a gre
> tunnel by
>
> /sbin/iptunnel add gre1 remote x.x.x.x. local x.x.x.x dev eth0
> /sbin/iptunnel gre1 127.0.0.2 up

Wrong module. You've patched in ip_wccp and here you're loading ip_gre
(which you haven't patched to support wccp).

Load ip_wccp, as I mentioned in the other message, and things should go
a little further.

modprobe ip_wccp

You don't need to explicitly configure a tunnel or anything like
that...it should just work.
                                     --
                        Joe Cooper <joe@swelltech.com>
                    Affordable Web Caching Proxy Appliances
                           http://www.swelltech.com
Received on Tue Jul 31 2001 - 04:50:28 MDT

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