Re: [squid-users] Truncated requests in cache.log

From: dtinazzi <dtinazzi_at_gmail.com>
Date: Tue, 29 Sep 2009 04:50:29 -0700 (PDT)

Anybody can help?

The squid proxy is configured as a transparent proxy.

Other errors:

in access.log

1254223081.196 501 94.x.x.x TCP_MISS/302 1059 GET
http://profile.live.com/connect/?wa=wsignin1.0&sa=319007920 -
DIRECT/64.4.24.246 text/html

and the same request, in cache.log

2009/09/29 13:18:04| parseHttpRequest: Unsupported method
'79.4/connect/?wa=wsignin1.0&sa=319007920'
2009/09/29 13:18:04| clientTryParseRequest: FD 16 (94.x.x.x:30725) Invalid
Request

My squid.conf is:

acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 94.x.x.0/28
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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 Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny all
icp_access allow localnet
icp_access deny all
http_port 3128 transparent
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid/access.log squid
acl nocache_servers dstdomain .jeffhawkeclub.com
cache deny nocache_servers
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
request_header_max_size 20 KB
reply_header_max_size 20 KB
acl shoutcast rep_header X-HTTP09-First-Line ^ICY\s[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
acl bypass_servers dstdomain sportelloweb.inpdap.it
acl bypass_servers dstdomain portale.rossoalice.alice.it
always_direct allow bypass_servers
hosts_file /etc/hosts
coredump_dir /var/spool/squid

I've these problems only with Internet Explorer (6 or 7), NOT with Firefox
(3.5.3).

Dario

dtinazzi wrote:
>
> Hi all,
>
> in these days I'm testing a new squid installation (2.7.STABLE3) and I'm
> having some troubles; I've a lot of "Invalid request error" on client side
> and corresponding entries in cache.log like these:
>
> 2009/09/23 11:27:45| parseHttpRequest: Unsupported method
> '.com/piclist?background_color=transparent&banner_example=%3Ciframe+style%3D%22vertical-xxxxxxxxxxxxxxxxxxxxx'
>
> 2009/09/23 13:00:27| parseHttpRequest: Unsupported method
> '.net/pagead/ads?client=ca-pub-xxxxxxxxxxxxxxxx'
>
> 2009/09/23 09:22:21| parseHttpRequest: Unsupported method
> 'k.com/connect/prompt_permissions.php?api_key=xxxxxxxxxxxxxxx'
>
> You can see the request has the starting part truncated (all final xxxx
> characters are mine...), probably it's the reason because I've
> "unsupported method" error and then "Invalid request", but I've these
> problems only for certain pages and not for others, so I can't understand
> the reason.
>
> Can you help me? Have you experienced this problem before?
>
> Thanks
> Dario
>
>

-- 
View this message in context: http://www.nabble.com/Truncated-requests-in-cache.log-tp25577796p25661590.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Tue Sep 29 2009 - 11:50:41 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 29 2009 - 12:00:03 MDT