RE: [squid-users] WCCPV2

From: Damian-Grint Philip <[email protected]>
Date: Thu, 21 Aug 2003 15:19:13 +0100

Jason,

The I see you messages and router registration only indicates that the squid
portion of WCCP is working, if nothing is being redirected, then you need to
look at the ip_wccp kernel module as that is what is doing the real work.

Phil DG

> -----Original Message-----
> From: Jason Chin [mailto:jchin@lisacommunications.com]
> Sent: 21 August 2003 14:16
> To: squid-users@squid-cache.org
> Subject: FW: [squid-users] WCCPV2
>
>
> Had it covered.. thanks for the help though.
>
> ip wccp version 2
> ip wccp web-cache redirect-list TEST
> !
> !
> interface Serial1/0
> description MY-GW
> bandwidth 3072
> ip address 208.246.26.1 255.255.255.252
> ip wccp web-cache redirect out
> service-policy output MY-Policies
> no ip mroute-cache
> !
> !
> ip access-list standard TEST
> permit 192.168.1.100
> !
>
> -Jason
>
>
>
>
>
> -----Original Message-----
> From: Sukhjit Singh [mailto:sukhjits@emmtel.com]
> Sent: Thursday, August 21, 2003 8:34 AM
> To: jchin@lisacommunications.com
> Subject: Re: [squid-users] WCCPV2
> Importance: High
>
>
> Hi Jason,
>
> What about the ip wccp webcache redirect out on the edge interface.
>
>
>
> Regards
>
> Sukhjit Singh
> Network Administrator
> Emmsons Infotech Ltd.
> SCO 13-14-15, Sec 34A,
> Chandigarh-160 022
> (Ph): +91 172 606664
> sukhjits@emmtel.com
> http://www.emmtel.com
>
> ----- Original Message -----
> From: "Jason Chin" <jchin@lisacommunications.com>
> To: <squid-users@squid-cache.org>
> Sent: Thursday, August 21, 2003 4:59 PM
> Subject: [squid-users] WCCPV2
>
>
> > Hi guys, im trying to get squid with wccpv2 running on a Redhat 8.0
> > box
> but
> > im having some problems. Im using a Cisco 3661 Router with IOS
> > 12.2(15)T1.
> I
> > have successfully patched and recompiled my kernel without
> any errors
> > with the ip_wccp-2_4_18.patch found at squid.visolve.com. Im using
> > Squid Cache version 2.5.STABLE3 which has also been patched without
> > any errors using
> the
> > wccpv2.patch and built with options:
> >
> ./configure --enable-async-io=120
> --enable-removal-policies=heap --enable-ki
> >
> ll-parent-hack --enable-cachemgr-hostname=Alpha-Cache
> --enable-htcp --enable
> > -linux-netfilter --disable-hostname-checks --enable-cache-digests
> > --enable
> -w
> > ccpv2. The squid.conf is the same i use on my mini squid farm (4
> > redhat
> 8.0
> > boxes running squid 2.5 stable 3 and wccpv1) changing only
> stuff like
> > visible/unique_hostname and the new wccpv2 configs found after
> > patching. Rules for transparent proxy has been configured
> on the squid
> > box /sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp -m
> tcp --dport
> > 80 -j REDIRECT --to-ports 3128. I have confirmed squid and the port
> > redirection
> is
> > working by configuring my browser to use the squid server
> as its proxy
> > at port 80 and 3128. The Router and the squid wccpv2 box seem to be
> > communicating with wccpv2:
> >
> > 2003/08/21 07:15:05| WCCP2 Assigning Redirect
> > 2003/08/21 07:15:11| Incoming WCCP v2 I_SEE_YOU length 132.
> 2003/08/21
> > 07:15:11| Incoming WCCP2_I_SEE_YOU received id = 4. 2003/08/21
> > 07:15:11| Incoming WCCP2_I_SEE_YOU member change = 0 tmp=2.
> 2003/08/21
> > 07:15:11| Incoming WCCP2_I_SEE_YOU member change = 2. 2003/08/21
> > 07:15:22| Incoming WCCP v2 I_SEE_YOU length 132. 2003/08/21
> 07:15:22|
> > Incoming WCCP2_I_SEE_YOU received id = 5. 2003/08/21 07:15:22|
> > Incoming WCCP2_I_SEE_YOU member change = 2 tmp=2.
> 2003/08/21 07:15:33|
> > Incoming WCCP v2 I_SEE_YOU length 132. 2003/08/21 07:15:33|
> Incoming
> > WCCP2_I_SEE_YOU received id = 6.
> >
> > WCCP-EVNT:S00: Built new router view: 0 routers, 0 usable
> web caches,
> change
> > # 00000001
> > WCCP-PKT:S00: Sending I_See_You packet to 192.168.1.10 w/ rcv_id
> > 00000001 Aug 21 11:03:31: %WCCP-5-CACHEFOUND: Web Cache
> 192.168.1.10
> > acquired
> > WCCP-PKT:S00: Received valid Here_I_Am packet from
> 192.168.1.10 w/rcv_id
> > 00000001
> > WCCP-EVNT:S00: Built new router view: 1 routers, 1 usable
> web caches,
> change
> > # 00000002
> > WCCP-PKT:S00: Sending I_See_You packet to 192.168.1.10 w/ rcv_id
> > 00000002
> > WCCP-PKT:S00: Received valid Here_I_Am packet from
> 192.168.1.10 w/rcv_id
> > 00000002
> > WCCP-PKT:S00: Sending I_See_You packet to 192.168.1.10 w/
> rcv_id 00000003
> >
> > CORE-ROUTER#sho ip wccp web-cache
> > Global WCCP information:
> > Router information:
> > Router Identifier: 208.246.26.1
> > Protocol Version: 2.0
> >
> > Service Identifier: web-cache
> > Number of Cache Engines: 1
> > Number of routers: 1
> > Total Packets Redirected: 0
> > Redirect access-list: TEST
> > Total Packets Denied Redirect: 3778
> > Total Packets Unassigned: 2090
> > Group access-list: -none-
> > Total Messages Denied to Group: 0
> > Total Authentication failures: 0
> >
> > CORE-ROUTER#sho ip wccp web-cache detail
> > WCCP Cache-Engine information:
> > Web Cache ID: 192.168.1.10
> > Protocol Version: 2.0
> > State: Usable
> > Initial Hash Info: 00000000000000000000000000000000
> > 00000000000000000000000000000000
> > Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
> > FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
> > Hash Allotment: 256 (100.00%)
> > Packets Redirected: 0
> > Connect Time: 00:00:55
> >
> > However there is no activity in my squid access.log and
> surfing does
> > not work once wccpv2 is enabled on the router. Can anyone assist?
> > Thanking you in advance.
> >
> > -Jason
> >
> >
> >
> >
> >
>
>
>
>
>
> ______________________________________________________________
> __________
> This e-mail has been scanned for all viruses by Star
> Internet. The service is powered by MessageLabs. For more
> information on a proactive anti-virus service working around
> the clock, around the globe, visit: http://www.star.net.uk
> ______________________________________________________________
> __________
>

Confidentiality Notice
This communication and the information it contains:
(a) is intended for the person(s) or Organisation(s) named above and for no other persons or organisations and,
(b) may be confidential, legally privileged and protected by law.
Unauthorised use, copying or disclosure of any of it may be unlawful.
When addressed to our clients any opinions or advice contained in this e-mail are subject to CCRE's terms and conditions of business notified to the client or expressed in the governing client engagement letter.
If you receive this communication in error, please notify us immediately, destroy any copies and delete it from your computer system.
Received on Thu Aug 21 2003 - 08:22:45 MDT

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