Re[2]: [squid-users] HELP WCCP Router 7200 Series (solved)

From: Hendra <[email protected]>
Date: Mon, 13 Oct 2003 10:21:05 +0700

Hello all,
       Thank's for your all advise.

       My problem was solved..
       The problem is my squid program was not patch by wccp patch.
       When i recompile and rebuild by squid 2.5 stable4 + wccpv2
       patch, it's work successfully... :)D
       
       

Friday, October 10, 2003, 6:58:35 PM, you wrote:

PFcatu> I am using squid 2.5stable3 and WCCP to redirect my HTTP traffic to our
PFcatu> Cisco core router. Some things I ended up with. First of all, use WCCPv2.
PFcatu> Cisco is not supporting WCCPv1 on their newer versions of the IOS (or so
PFcatu> I've been told).

PFcatu> 1. make sure that the kernel has the ip_wccp module support compiled in.
PFcatu> 2. make sure that you have the WCCPv2 patch applied to the squid code.
PFcatu> 3. in the squid.conf file make sure that you are using wccp2 router settings
PFcatu> and not just wccp router.
PFcatu> 4. when you run squid check the cache.log file and make sure that the
PFcatu> startup section shows that the application is accepting WCCPv2 traffic.

PFcatu> From the router side I can't tell you what you should do or see other than
PFcatu> setting the WCCP version on the router to version 2.

PFcatu> PFiero

PFcatu> -----Original Message-----
PFcatu> From: Hendra [mailto:hendra@dwp.co.id]
PFcatu> Sent: Friday, October 10, 2003 4:43 AM
PFcatu> To: squid-users@squid-cache.org
PFcatu> Subject: [squid-users] HELP WCCP Router 7200 Series

PFcatu> Dear all,

PFcatu> I've a problem to setting up My Router and proxy.
PFcatu> The specify our machine is:
PFcatu> 1. The Router 7200 Software (C7200-IS-M), Version 12.2(17a)
IP->> 10.10.10.1
PFcatu> 2. Proxy using RH 7.0 with squid 2.5stable2, with patch for ip_wccp
PFcatu> (with 1 interface ethernet)
IP->> 10.10.20.2

PFcatu> Here is my config in the router :
PFcatu> clock timezone GMT+7 7
PFcatu> ip subnet-zero
PFcatu> no ip source-route
PFcatu> ip wccp version 1
PFcatu> ip wccp web-cache redirect-list testWCCP group-list 20
PFcatu> ip cef
PFcatu> !

PFcatu> The result was:
PFcatu> Global WCCP information:
PFcatu> Router information:
PFcatu> Router Identifier: 10.10.10.1
PFcatu> Protocol Version: 1.0
PFcatu> Service Identifier: web-cache
PFcatu> Number of Cache Engines: 1
PFcatu> Number of routers: 1
PFcatu> Total Packets Redirected: 11
PFcatu> Redirect access-list: testWCCP
PFcatu> Total Packets Denied Redirect: 0
PFcatu> Total Packets Unassigned: 0
PFcatu> Group access-list: 20
PFcatu> Total Messages Denied to Group: 4
PFcatu> Total Authentication failures: 0

PFcatu> WCCP Cache-Engine information:
PFcatu> Web Cache ID: 0.0.0.0
PFcatu> Protocol Version: 0.4
PFcatu> State: Usable
PFcatu> Initial Hash Info: 00000000000000000000000000000000
PFcatu> 00000000000000000000000000000000
PFcatu> Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
PFcatu> FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
PFcatu> Hash Allotment: 256 (100.00%)
PFcatu> Packets Redirected: 3
PFcatu> Connect Time: 00:00:37

PFcatu> WCCP Routers Informed of:
PFcatu> -none-

PFcatu> WCCP Cache Engines Visible:
PFcatu> 10.10.20.2

PFcatu> WCCP Cache Engines NOT Visible:
PFcatu> -none-

PFcatu> I've already redirect the packet from port www to 3128:
PFcatu> iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT
PFcatu> --to-ports 3128

PFcatu> When i install squid :
PFcatu> ./configure --prefix=/usr/local/squid --enable-async-io
PFcatu> --enable-storeio=diskd,ufs -enable-wccp -enable-underscores
PFcatu> --enable-linux-netfilter
PFcatu> make all install

PFcatu> In my squid.conf i've already config this :
PFcatu> wccp_router
PFcatu> httpd_accel_host
PFcatu> httpd_accel_port
PFcatu> httpd_accel_with_proxy
PFcatu> httpd_accel_uses_host_header

PFcatu> I've also enable IP Forwarding by editing /etc/sysctl.conf with:
PFcatu> net.ipv4.ip_forward = 1
PFcatu> net.ipv4.conf.all.rp_filter = 1
PFcatu> kernel.sysrq = 0

PFcatu> The problem is my client can't detect the proxy (where i was setting
PFcatu> as transparent proxy) and he cannot browsing, but if the client using
PFcatu> manual proxy, it's ok....

PFcatu> Thanks in advance for any help

-- 
Best regards,
 Hendra                            mailto:hendra@dwp.co.id
Received on Sun Oct 12 2003 - 21:19:54 MDT

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