Hi,
I am tring to implement wccp in squid, but it was not successful, Here is
the my configuration part of wccp in squid,
wccp_router X.X.X.X
wccp_version 1
( the version number given in the comments is 3 but I believe, version 3
not yet realsed.)
In my router part is :
ip wccp version 1
ip wccp web-cache
[int e0/0 ]
ip wccp web-cache redirect out
ip route-cache same-interface
Here is the way I implemented the port redirection in my squid box:
/sbin/modprobe ip_wccp
#flush existing rule sets.
/sbin/ipfwadm -I -f
/sbin/ipfwadm -O -f
/sbin/ipfwadm -F -f
MYIPS=`ifconfig | grep 'inet\ addr' | awk '{print $2}' | cut
-d: -f2` echo $MYIPS
for d in $MYIPS; do
echo -n "$d "
/sbin/ipfwadm -I -a acc -P tcp -D $d/32 80
done
echo " - done"
echo -n "redirecting http traffic to proxy cache..."
/sbin/ipfwadm -I -a acc -P tcp -S 0.0.0.0/0 -D 0.0.0.0/0 80 -r
3128
echo " done."
echo "enabling ip forwarding"
echo 1 > /proc/sys/net/ipv4/ip_forward
when I checked up the 'sh ip wccp ' in my router, I am not getting the any
redirected packets, and also ther is storage in cache directory..
Any help...
Thanks
Kiran
>
>
>
>
>
> On Mon, 3 Jul 2000, Henrik Nordstrom wrote:
>
> > A WCCP enabled cache can be on any address, and the cache server OS must
> > redirect any packets port 80 received via GRE to the proxy port on the
> > proxy address.
> >
> > To make Linux receive the GRE encapsulated packets you must use the
> > ip_wccp or modified ip_gre module.
> >
> > To make Linux redirect the received (after decapsulation) packets to the
> > proxy software you should use ipchains with a redirect rule.
> >
> > --
> > Henrik Nordstrom
> > Squid hacker
> >
>
>
Received on Sun Jul 23 2000 - 20:23:59 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:35 MST