[squid-users] Squid TCP_MISS/502

From: Dawie Pretorius <dawie_at_tradebridge.co.za>
Date: Wed, 20 Jan 2010 08:38:21 +0200

To whom it may concern

squid.conf:

acl javascript rep_mime_type -i ^application/x-javascript$
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 172.16.0.0/12 # RFC1918 possible internal network
acl SSL_ports port 443
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 CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 10
auth_param ntlm keep_alive on

http_access allow javascript

acl AuthorizedUsers proxy_auth REQUIRED
http_access allow localnet AuthorizedUsers

http_access allow localhost
http_access deny all
icp_access allow localnet
icp_access deny all

http_port 3128
hierarchy_stoplist cgi-bin ?
cache_dir ufs /var/spool/squid 100 16 256
access_log /var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
#Suggested default:
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern . 0 20% 4320
cache_effective_user squid
cache_effective_group squid
visible_hostname xxxxxxxxxxxxxxx
client_persistent_connections off
server_persistent_connections off
detect_broken_pconn on
icp_port 3130
dns_nameservers 208.67.222.222 208.67.220.220
forwarded_for off
coredump_dir /var/spool/squid

Squid version:
Squid Cache: Version 3.0.STABLE10
configure options: '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--exec_prefix=/usr' '--bindir=/usr/sbin' '--libexecdir=/usr/lib64/squid' '--localstatedir=/var' '--datadir=/usr/share' '--sysconfdir=/etc/squid' '--disable-dependency-tracking' '--enable-arp-acl' '--enable-auth=basic,digest,ntlm,negotiate' '--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL' '--enable-negotiate-auth-helpers=squid_kerb_auth' '--enable-cache-digests' '--enable-cachemgr-hostname=localhost' '--enable-delay-pools' '--enable-digest-auth-helpers=password' '--enable-epoll' '--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group' '--enable-icap-client' '--enable-ident-lookups' '--enable-linux-netfilter' '--enable-ntlm-auth-helpers=SMB,fakeauth' '--enable-referer-log' '--enable-removal-policies=heap,lru' '--enable-snmp' '--enable-ssl' '--enable-storeio=aufs,diskd,null,ufs' '--enable-useragent-log' '--enable-wccpv2' '--with-aio' '--with-default-user=squid' '--with-filedescriptors=16384' '--with-dl' '--with-openssl=/usr/kerberos' '--with-pthreads' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-fPIE -Os -g -pipe -fsigned-char -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'LDFLAGS=-pie' 'CXXFLAGS=-fPIE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'FFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'

CentOS release 5.4 (Final)

1263963136.820 240992 172.16.9.158 TCP_MISS/502 6012 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxx DIRECT/72.14.204.154 text/html
1263963222.311 241056 172.16.9.158 TCP_MISS/502 5654 GET http://pubads.g.doubleclick.net/gampad/ads? xxxxxxxxxxxxxxxx DIRECT/72.14.204.154 text/html
1263963463.502 241082 172.16.9.158 TCP_MISS/502 5686 GET http://pubads.g.doubleclick.net/gampad/ads? xxxxxxxxxxxx DIRECT/72.14.204.157 text/html
1263963706.332 240986 172.16.9.158 TCP_MISS/502 5618 GET http://pubads.g.doubleclick.net/gampad/ads? xxxxxxxxxxxxxx DIRECT/72.14.204.157 text/html
1263963948.744 240988 172.16.9.158 TCP_MISS/502 5800 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxxxx DIRECT/72.14.204.154 text/html
1263963948.930 241143 172.16.9.158 TCP_MISS/502 5619 GET http://www.google-analytics.com/__utm.gif? xxxxxxxxxxxxxxxxx DIRECT/64.233.169.139 text/html
1263964055.276 240650 172.16.9.158 TCP_MISS/502 5954 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxx DIRECT/72.14.204.154 text/html
1263964055.459 240846 172.16.9.158 TCP_MISS/502 5962 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxxx DIRECT/72.14.204.156 text/html
1263964091.365 240773 172.16.9.158 TCP_MISS/502 5348 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxx DIRECT/72.14.204.157 text/html
1263964098.182 240866 172.16.9.158 TCP_MISS/502 5261 GET http://www.google-analytics.com/__utm.gif? xxxxxxxxxxxxxxx DIRECT/64.233.169.138 text/html
1263964382.066 240650 172.16.9.158 TCP_MISS/502 5574 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxx DIRECT/72.14.204.154 text/html
1263964382.860 481725 172.16.9.158 TCP_MISS/502 5522 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxx DIRECT/72.14.204.155 text/html
1263964658.541 240658 172.16.9.158 TCP_MISS/502 6134 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxx DIRECT/72.14.204.157 text/html
1263964658.746 240851 172.16.9.158 TCP_MISS/502 6130 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxxxx DIRECT/72.14.204.156 text/html
1263964749.409 241154 172.16.9.158 TCP_MISS/502 5509 GET http://www.google-analytics.com/__utm.gif? xxxxxxxxxxxxxxx DIRECT/64.233.169.138 text/html
1263965066.424 240720 172.16.9.158 TCP_MISS/502 6248 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxxxx DIRECT/72.14.204.157 text/html
1263965067.463 240875 172.16.9.158 TCP_MISS/502 6246 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxxxx DIRECT/72.14.204.155 text/html
1263965431.160 240723 172.16.9.158 TCP_MISS/502 6250 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxxxx DIRECT/72.14.204.157 text/html
1263965485.741 240863 172.16.9.158 TCP_MISS/502 5726 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxxxx DIRECT/72.14.204.156 text/html
1263965492.019 240652 172.16.9.158 TCP_MISS/502 6410 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxxxx DIRECT/72.14.204.157 text/html
1263965492.178 240822 172.16.9.158 TCP_MISS/502 6416 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxxxx DIRECT/72.14.204.155 text/html
1263965628.064 240654 172.16.9.158 TCP_MISS/502 5950 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxxxx DIRECT/72.14.204.154 text/html
1263965688.193 240815 172.16.9.158 TCP_MISS/502 5572 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxxxx DIRECT/72.14.204.155 text/html
1263965688.231 240853 172.16.9.158 TCP_MISS/502 5578 GET http://googleads.g.doubleclick.net/pagead/ads? xxxxxxxxxxxxxxx DIRECT/72.14.204.156 text/html
1263965730.292 225899 172.16.9.158 TCP_MISS/502 4193 GET http://nixcraft.com/linux-software/485-squid-2-5-stable3-error.html xxxxxxxxxxxxxxx DIRECT/75.126.168.152 text/html

ERROR
The requested URL could not be retrieved

Invalid Response error was encountered while trying to process the request:

    GET /pagead/ads?client=ca-pub-5884878215917141&format=728x90_as&output=html&h=90&w=728&lmt=1263962894&ad_type=text_image&alternate_ad_url=http%3A%2F%2Fgmane.org%2Fblank.php&color_bg=FFFFFF&color_border=FFFFFF&color_link=002390&color_text=000000&color_url=000000&flash=10.0.32&url=http%3A%2F%2Farticle.gmane.org%2Fgmane.comp.web.squid.general%2F77905&dt=1263962895706&correlator=1263962895712&frm=0&ga_vid=1818576121.1263962896&ga_sid=1263962896&ga_hid=1380304372&ga_fc=0&u_tz=120&u_his=1&u_java=0&u_h=1024&u_w=1280&u_ah=1024&u_aw=1280&u_cd=32&u_nplug=8&u_nmime=24&biw=1263&bih=862&ref=http%3A%2F%2Fwww.google.co.za%2Furl%3Fsa%3Dt%26source%3Dweb%26ct%3Dres%26cd%3D1%26ved%3D0CAkQFjAA%26url%3Dhttp%253A%252F%252Farticle.gmane.org%252Fgmane.comp.web.squid.general%252F77905%26rct%3Dj%26q%3DTCP_MISS%252F502%2Bsolved%2Bsquid%26ei%3DyIpWS7_FN5WHlAfStPDyAw%26usg%3DAFQjCNGDv9EHtorrL30y-3aYaWt_UBHeog&loc=http%3A%2F%2Farticle.gmane.org%2Fgmane.comp.web.squid.general%2F77905&fu=0&ifi=1&dtd=145&xpc=SMG2BszZPp&p=http%3A//article.gmane.org HTTP/1.1
    Host: googleads.g.doubleclick.net
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-gb,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Proxy-Connection: keep-alive
    Referer: http://article.gmane.org/gmane.comp.web.squid.general/77905
    Cookie: test_cookie=CheckForPermission
    Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAIgAAAAYABgAoAAAABAAEABIAAAAHgAeAFgAAAASABIAdgAAAAAAAAC4AAAABYKIogUBKAoAAAAPVABCAEEARgBSAEkAQwBBAGQAYQB3AGkAZQAuAHAAcgBlAHQAbwByAGkAdQBzAEQAQQBXAEkARQBQAC0ATABUAMBRJyr+muEgAAAAAAAAAAAAAAAAAAAAAOx8gnwh9ncq6+oGVOtvWsxIz2PI8DqcnA==

The HTTP Response message received from the contacted server could not be understood or was otherwise malformed. Please contact the site operator.

Your cache administrator may be able to provide you with more details about the exact nature of the problem if needed.

Your cache administrator is root.

Generated Wed, 20 Jan 2010 04:52:16 GMT by XXXXXXXXXXXXX (squid/3.0.STABLE10)

Error TCP_MISS/502 followed by this page gets displayed, when disabling proxy googleads.g.doubleclick.net/pagead/ads? Displays fine, is there something is squid.conf that is causing this not to load?

Please come back to me, thank you
 
Note: Privileged/Confidential information may be contained in this message and may be subject to legal privilege. Access to this e-mail by anyone other than the intended is unauthorised. If you are not the intended recipient (or responsible for delivery of the message to such person), you may not use, copy, distribute or deliver to anyone this message (or any part of its contents ) or take any action in reliance on it. All reasonable precautions have been taken to ensure no viruses are present in this e-mail. As our company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments we recommend that you subject these to your virus checking procedures prior to use. The views, opinions, conclusions and other information expressed in this electronic mail are not given or endorsed by the company unless otherwise indicated by an authorized representative independent of this message.
Received on Wed Jan 20 2010 - 06:37:55 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 20 2010 - 12:00:04 MST