Re: [squid-users] Transparent caching with WCCP.. please help

From: khiz code <khizcode@dont-contact.us>
Date: Thu, 27 Sep 2001 05:00:50 -0700 (PDT)

hi debashish
well i f u visit the listu will find that i m the most dump guy there
who keeps asking questions .. most of them r answeerd :-)
well for measuring general squid statistics
use the cachemgr.cgi provided
dump it into the cgi-bin dir of any web server and it shud work
just make sure that u allow manager access to this apache server
also calamaris another free ware is useful to get generel stats abt
mime types and thir hit rates
and i hv just started using squid a month back
hats of to all the squid guys in no particular order
Joe, Henrick , Adrian. Colin, Duane and all squid hackers
rgds
khizcode
P.s u shud mail the squid list /search archive all the gurus r out
there .. i hv just learnt from the list

--- Deeptish Dey <deeptish@lotus.saha.ernet.in> wrote:
>
>
> KHIZ.... U R GR8; problem solved!... but what I actually did is I
> used
> ip_wccp, instead of ip_gre, and believe me its running!! I guess my
> ip_gre.o was buggy; khiz THANK YOU VERY MUCH!,, u have made this poor
> soul happy!!... I have also tested swiching off the squid-cache, and
> the
> Lan gets normal internet connection...
>
> Well Khiz, plese also help me in the following...
>
> 1. how to cache maximum data including .txt, .gif, etc.
> 2. how to measure hit rate? how to increase hit rate?
>
> also let me also know where are u from..?
>
>
> Thank You very much,
>
> Regards,
>
> Deeptish
>
>
>
>
> On Thu, 27 Sep 2001, khiz code wrote:
>
> :)do
> :)sho ip access-list cache
> :)and see if there r matches against that link
> :)
> :)--- Deeptish Dey <deeptish@lotus.saha.ernet.in> wrote:
> :)>
> :)>
> :)> well khiz, what I am doing is just abiding what are u saying
> ..let me
> :)> give
> :)> u my updated router config...
> :)>
> :)> !
> :)> ip subnet-zero
> :)> ip wccp version 1
> :)> ip wccp web-cache redirect-list cache
> :)>
> :)> interface Serial1/1----------------------->>> link connecting ISP
> :)> ROUTER
> :)> ip address 202.56.204.142 255.255.255.252
> :)> no ip directed-broadcast
> :)> encapsulation ppp
> :)> no ip route-cache cef
> :)> ip wccp web-cache redirect out------>>>>> (say item ZZ )
> :)> !
> :)> !
> :)> !
> :)> ip access-list extended cache
> :)> deny tcp host 202.56.207.35 any ------> 202.56.207.35 is my
> cache
> :)> squid
> :)> permit tcp any any eq www
> :)> !
> :)> !
> :)> now please note that when I am putting (item ZZ) in the serial
> line,
> :)> we
> :)> get connection time out from our lan to any www site;
> :)>
> :)> also with item ZZ, in serial interface ... there is no I SEE U>>>
> :)> HERE I
> :)> AM Packets..... now;;
> :)>
> :)> other data is the same...!! .. do u sugg. to use ip_wccp? ..well
> can
> :)> we
> :)> solve the prob today?.. khiz u r really doing much help, May I
> ask
> :)> where
> :)> are u from?
> :)>
> :)> Regards,
> :)>
> :)> Deeptish
> :)>
> :)>
> :)> On Thu, 27 Sep 2001, khiz code wrote:
> :)>
> :)> :)but deeptish
> :)> :)u need to create an access list to match what ips u want to be
> wccp
> :)> :)redirected
> :)> :)something like
> :)> :) deny tcp host a.b.cd any
> :)> :)permit tcp any any eq www
> :)> :)
> :)> :)where a.b.c.d is IP of cache
> :)> :)then in global config mode do
> :)> :)ip wccp web-cache redirect-list cache
> :)> :)
> :)> :)cache is the name of the extended access list
> :)> :)
> :)> :)try out
> :)> :)rgds
> :)> :)so that in ur start config uhv something like
> :)> :)ip wccp version 1
> :)> :)ip wccp web-cache redirect-list cache
> :)> :)
> :)> :)
> :)> :)--- Deeptish Dey <deeptish@lotus.saha.ernet.in> wrote:
> :)> :)>
> :)> :)>
> :)> :)> let me give you my router details: as now I have put ip wccp
> :)> redirect
> :)> :)> out
> :)> :)> at the interface with connect to our ISP ( which stopped
> browsing
> :)> for
> :)> :)> the
> :)> :)> whole lan ) and router could recognise cache, but no i see u
> :)> :)> packets....; well first the router code for you
> :)> :)>
> :)> :)>
> :)> :)> ip wccp version 1
> :)> :)> ip wccp web-cache
> :)> :)>
> :)> :)> interface FastEthernet1/0-------------------------> our lan
> is
> :)> :)> connected
> :)> :)> here
> :)> :)> description **Description Connected To Mantra**
> :)> :)> ip address 202.56.207.33 255.255.255.224
> :)> :)> ip verify unicast reverse-path
> :)> :)> no ip redirects
> :)> :)> no ip unreachables
> :)> :)> no ip directed-broadcast
> :)> :)> no ip proxy-arp
> :)> :)> no ip mroute-cache
> :)> :)> duplex auto
> :)> :)> speed auto
> :)> :)> no cdp enable
> :)> :)>
> :)> :)> interface Serial1/1
> :)> :)> description connected to Mantra------------ line to ISP
> :)> (INTERNET)
> :)> :)> ip address 202.56.204.142 255.255.255.252
> :)> :)> no ip directed-broadcast
> :)> :)> ip wccp web-cache redirect out
> :)> :)> encapsulation ppp
> :)> :)> !
> :)> :)> --------------------
> :)> :)>
> :)> :)> router2>sh ip wccp
> :)> :)> Global WCCP information:
> :)> :)> Router information:
> :)> :)> Router Identifier: 202.56.207.33
> :)> :)> Protocol Version: 1.0
> :)> :)>
> :)> :)> Service Identifier: web-cache
> :)> :)> Number of Cache Engines: 1
> :)> :)> Number of routers: 1
> :)> :)> Total Packets Redirected: 6240
> :)> :)> Redirect access-list: -none-
> :)> :)> Total Packets Denied Redirect: 0
> :)> :)> Total Packets Unassigned: 0
> :)> :)> Group access-list: -none-
> :)> :)> Total Messages Denied to Group: 0
> :)> :)> Total Authentication failures: 0
> :)> :)>
> :)> :)> ----------------
> :)> :)> router2>sh ip wccp we detail
> :)> :)> WCCP Cache-Engine information:
> :)> :)> IP Address: 202.56.207.35
> :)> :)> Protocol Version: 0.4
> :)> :)> State: Usable
> :)> :)> Initial Hash Info:
> 00000000000000000000000000000000
> :)> :)>
> 00000000000000000000000000000000
> :)> :)> Assigned Hash Info:
> FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
> :)> :)>
> FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
> :)> :)> Hash Allotment: 256 (100.00%)
> :)> :)> Packets Redirected: 6240
> :)> :)> Connect Time: 01:27:31
> :)> :)>
> :)> :)>
> :)> :)>
> :)> :)> ---------------------
> :)> :)> tcp dump at the cache...engine ( SQUID )
> :)> :)>
> :)> :)> 14:09:12.495325 eth0 < gre-proto-0x883E (gre encap)
> :)> :)> 14:09:12.495325 eth0 < gre-proto-0x883E (gre encap)
> :)> :)> 14:09:12.515325 eth0 < gre-proto-0x883E (gre encap)
> :)> :)> 14:09:12.655325 eth0 > 202.56.207.35.2048 > rmantra.2048: udp
> 52
> :)> (DF)
> :)> :)> 14:09:12.655325 eth0 < rmantra.2048 > 202.56.207.35.2048: udp
> 64
> :)> :)> 14:09:12.995325 eth0 B arp who-has 202.56.207.54 tell rmantra
> :)> :)> 14:09:13.055325 eth0 < gre-proto-0x883E (gre encap)
>
=== message truncated ===

__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
Received on Thu Sep 27 2001 - 06:00:52 MDT

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