[squid-users] Re: Help, Help, help Squid2.5-Stables13 + WCCP

From: Daniel EPEE LEA <epeelea@dont-contact.us>
Date: Mon, 20 Mar 2006 00:57:50 -0800

Hello,

I have configured squid-2.5-Statble13 + WCCP + iptables DNAT
But I have to many invalid request.

I have noticed that the WCCP Router info shows the Router loopback
interface intead of the wccp router IP address. Can that be a problem
?

How do I get read of the unsupported methods issues that I have ?

This is my Cache.log info

2006/03/18 22:19:54| clientReadRequest: FD 3476 Invalid Request
2006/03/18 22:19:57| parseHttpRequest: Unsupported method
'recipientid=105&sessionid=2197

'
2006/03/18 22:19:57| clientReadRequest: FD 148 Invalid Request
2006/03/18 22:20:17| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:20:17| clientReadRequest: FD 3382 Invalid Request
2006/03/18 22:20:30| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:20:30| clientReadRequest: FD 2515 Invalid Request
2006/03/18 22:20:38| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:20:38| clientReadRequest: FD 1091 Invalid Request
2006/03/18 22:20:45| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:20:45| clientReadRequest: FD 382 Invalid Request
2006/03/18 22:20:52| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:20:52| clientReadRequest: FD 2548 Invalid Request
2006/03/18 22:21:12| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:21:12| clientReadRequest: FD 3150 Invalid Request
2006/03/18 22:21:36| parseHttpRequest: Unsupported method
'recipientid=155&sessionid=2873

'
2006/03/18 22:21:36| clientReadRequest: FD 376 Invalid Request
2006/03/18 22:21:36| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:21:36| clientReadRequest: FD 460 Invalid Request
2006/03/18 22:21:38| parseHttpRequest: Unsupported method
'recipientid=155&sessionid=2873

'
2006/03/18 22:21:38| clientReadRequest: FD 1655 Invalid Request
2006/03/18 22:21:39| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:21:39| clientReadRequest: FD 1655 Invalid Request
2006/03/18 22:22:10| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:22:10| clientReadRequest: FD 2515 Invalid Request
2006/03/18 22:22:27| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:22:27| clientReadRequest: FD 251 Invalid Request
2006/03/18 22:22:44| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:22:44| clientReadRequest: FD 776 Invalid Request
2006/03/18 22:22:51| parseHttpRequest: Unsupported method
'recipientid=114&sessionid=914
2006/03/18 22:22:51| clientReadRequest: FD 1490 Invalid Request
2006/03/18 22:22:55| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:22:55| clientReadRequest: FD 2858 Invalid Request
2006/03/18 22:23:02| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:23:02| clientReadRequest: FD 674 Invalid Request
2006/03/18 22:23:16| parseHttpRequest: Unsupported method 'REGISTER'
2006/03/18 22:23:16| clientReadRequest: FD 45 Invalid Request

Much Regards

Daniel

On 3/18/06, Daniel EPEE LEA <epeelea@gmail.com> wrote:
> Hi,
>
> Squid-2.5-STABLE13 + ip_gre WCCP + RHEL v4 U2 + 4Gigs RAM + Cache
> Dir to be 45 Gigs, but only 20Gigs now
>
> I have a high volume network ( /19)
> I had to increase the number of file descriptors and rebuild squid.
> Now it works Ok,
>
> But I notice a major slowness in browsing the internet. Plus site
> with streaming media take too much time to load. From some parts of my
> network, I get "Unable to reach Website answer"
>
> This is my config,
> ---------------------------
> iptables -nL -t nat
> Chain PREROUTING (policy ACCEPT)
> target prot opt source destination
> DNAT tcp -- [MyNet]/19 ![MyNet]/19 tcp dpt:80 to:[Cache IP]:3128
>
> -----------------------------------
> http_port [Cache IP]:3128
> icp_port 3130
> hierarchy_stoplist cgi-bin ?
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
> cache_mem 256 MB
> cache_swap_low 90
> cache_swap_high 95
> maximum_object_size 4096 KB
> minimum_object_size 0 KB
> maximum_object_size_in_memory 8 KB
> cache_dir ufs /usr/local/squid/var/cache 20240 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
> mime_table /usr/local/squid/etc/mime.conf
> pid_filename /var/run/squid.pid
> 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
> acl myacl src [MyNET]
> http_access allow myacl
> http_access allow manager localhost
> http_access deny manager
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> acl our_networks src [MyNET]
> http_access allow our_networks
> http_access deny all
> http_reply_access allow all
> icp_access allow all
> icp_access allow all
> tcp_outgoing_address [CacheIP]
> cache_mgr postmaster@domain.com
> cache_effective_user squid
> cache_effective_group squid
> visible_hostname cache.domain.com
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
> logfile_rotate 10
> forwarded_for on
> cachemgr_passwd *****************
> snmp_port 3401
> snmp_access deny all
> wccp_router [Router IP]
> wccp_version 4
> wccp_outgoing_address [CacheIP]
> coredump_dir /usr/local/squid/var/cache
>
>
> How can i improve it ? so the all the serveices ate allowed without
> restriction ?
>
> Thanks for your answers
>
> Much regards,
>
> --------------------------
> Dan
>

--
--------------------------
Daniel Epee Lea
Received on Mon Mar 20 2006 - 01:57:53 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST