Re: [squid-users] WCCPv2+squid2.5stable4+fedora --problem

From: Roman Synyuk <roman@dont-contact.us>
Date: Mon, 5 Jan 2004 15:52:57 +0200 (EET)

According to "show ip wccp web-cache" WCCP works fine (Total Packets Redirected 56880)
Do you set next parameters in squid.conf ?

httpd_accel_host virtual
httpd_accel_port 0
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

> Hi all
>
> i have installed latest fedora+ip+wccp patch to kernel
> and patched to squid
> installation went well
>
> and i tested with one PC transparent cache, working fine
>
> when i want to wccp based from ciso router
> iam not able to see the hits are going from squid
>
> here are the my report of all
>
> any help will be great, i was also searching archive, but nothing much
> informative, as far as my problem concern
>
> thanks in advance
> hare
>
> cache router#show ip wccp web-cache detail
> WCCP Cache-Engine information:
> IP Address: x.x.x.195
> Protocol Version: 2.0
> State: Usable
> Initial Hash Info: 00000000000000000000000000000000
> 00000000000000000000000000000000
> Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
> FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
> Hash Allotment: 256 (100.00%)
> Packets Redirected: 12082
> Connect Time: 00:18:20
>
> TCPdump
> ---------
>
> 22:25:07.705435 loopback address of router > kachi.domain.com: gre
> gre-proto-0x883E
> 22:25:07.709296 loopback address of router > kachi.domain.com: gre
> gre-proto-0x883E
>
>
> iptable out put
> --------------
>
> [root@kachi root]# iptables -xnvL -t nat
> Chain PREROUTING (policy ACCEPT 234 packets, 24739 bytes)
> pkts bytes target prot opt in out source
> destination
> 132 6336 REDIRECT tcp -- * * 0.0.0.0/0
> 0.0.0.0/0 tcp dpt:80 redir ports 3128
>
> Chain POSTROUTING (policy ACCEPT 195 packets, 11765 bytes)
> pkts bytes target prot opt in out source
> destination
>
> Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
> pkts bytes target prot opt in out source
> destination
>
>
> squid.conf
> ------------
>
> wccp2_router ethernetip of router
>
>
> cache router#show ip wccp web-cache
> Global WCCP information:
> Router information:
> Router Identifier: loopback address of router
> Protocol Version: 2.0
>
> Service Identifier: web-cache
> Number of Cache Engines: 1
> Number of routers: 1
> Total Packets Redirected: 56880
> Redirect access-list: 161
> Total Packets Denied Redirect: 0
> Total Packets Unassigned: 0
> Group access-list: -none-
> Total Messages Denied to Group: 0
> Total Authentication failures: 0
>
>
Received on Mon Jan 05 2004 - 06:53:10 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:03 MST