Re: [squid-users] wccp

From: Ben <benja@dont-contact.us>
Date: Tue, 18 Oct 2005 16:45:56 -0500

Bryan,

-- My squid.conf

http_port 3128
acl QUERY urlpath_regex cgi-bin \?
cache_mem 64 MB
cache_dir ufs /var/spool/squid 51200 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
pid_filename /var/run/squid.pid
ftp_user Squid@
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
no_cache deny QUERY
acl LAN1 src "/etc/squid/lan1.txt"
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow LAN1
http_access deny all
http_reply_access allow all
icp_access allow all
cache_effective_user squid
cache_effective_group squid
cache_mgr webmaster@mydomain.com
httpd_accel_port 80
httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
wccp_router x.x.x.x (my router)
wccp_version 4
coredump_dir /var/spool/squid
visible_hostname squid.mydomain.com
httpd_accel_host virtual
unique_hostname squid.mydomian.com

--on Linux:
modprobe ip_wccp
modprobe ip_gre
iptunnel add gre1 mode gre remote X.X.X.X local X.X.X.X dev eth0
ifconfig gre1 up
modprobe ip_wccp

--log router:
Routert#undebug all
All possible debugging has been turned off
Router#debug ip wccp event
WCCP events debugging is on
Router#sh ip wccp
Global WCCP information:
    Router information:
        Router Identifier: X.X.X.X
        Protocol Version: 1.0

    Service Identifier: web-cache
        Number of Cache Engines: 1
        Number of routers: 1
        Total Packets Redirected: 4778
        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

Router#sh ip wccp
Oct 18 11:28:54: WCCP-EVNT: Here_I_Am packet from 200.94.18.160 w/bad
rcvd_id 00000000
Oct 18 11:28:54: WCCP-EVNT: Built I_See_You msg body w/1 usable web caches,
change

Router#sh ip wccp web-cache view
    WCCP Routers Informed of:
        -none-

    WCCP Cache Engines Visible:
        X.X.X.X

    WCCP Cache Engines NOT Visible:
        -none-

Router_#sh ip wccp web-cache det
WCCP Cache-Engine information:
        Web Cache ID: 0.0.0.0
        Protocol Version: 0.4
        State: Usable
        Initial Hash Info: 00000000000000000000000000000000
                               00000000000000000000000000000000
        Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                               FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        Hash Allotment: 256 (100.00%)
        Packets Redirected: 46481
        Connect Time: 00:20:15

What´s wrong?

Best Regards,

----- Original Message -----
From: "Shoebottom, Bryan" <BShoebottom@fanshawec.ca>
To: "Ben" <benja@ultranet2go.net>; <squid-users@squid-cache.org>
Sent: Tuesday, October 18, 2005 12:28 PM
Subject: RE: [squid-users] wccp

> Ben,
>
> I have followed the FAQ
> (http://www.squid-cache.org/Doc/FAQ/FAQ-17.html#ss17.13) but have been
> unsuccessful in getting WCCP to talk to the cache properly. Please let
> me know how you make out, I may need to ask you questions.
>
> Thanks,
> Bryan
>
>
>
> -----Original Message-----
> From: Ben [mailto:benja@ultranet2go.net]
> Sent: October 18, 2005 12:15 PM
> To: squid-users@squid-cache.org
> Subject: [squid-users] wccp
>
> Hello Squid Users,
> I am planning to implement wccp with squid, using the following:
> 1- WBEL 4.0
> 2- Version 2.5.STABLE3
> 3- Cisco 7206 IOS 12.2
> I would like to know if any body have any experience with this setup to
> guide me with resources or URLS dealing with this case plus his own
> experience.
> I would like also to know which is better to use, ip filter or ipchains
> or
> any other alternative.
> Thanks in advance for any help
> Best Regards,
>
>
>
>
>
>
>
>
Received on Tue Oct 18 2005 - 15:46:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:04 MST