Re: [squid-users] Re: Re: No Hits

From: Denis Vlasenko <vda@dont-contact.us>
Date: Fri, 4 Jun 2004 15:05:59 +0300

On Friday 04 June 2004 09:33, Emilio Casbas wrote:
> -RPG- wrote:
> > same problem. no TCP_HITs??
> >
> > http_port 3128
> > icp_port 3130
> >
> > hierarchy_stoplist cgi-bin ?
> > acl QUERY urlpath_regex cgi-bin \?
> > no_cache deny QUERY
> > cache_mem 8 MB
> >
> >
> > cache_dir ufs /usr/local/squid2.5.4/cache 100 16 256
> > cache_access_log /usr/local/squid2.5.4/var/logs/access.log
> > cache_log /usr/local/squid2.5.4/var/logs/cache.log
> > cache_store_log /usr/local/squid2.5.4/var/logs/store.log
> > pid_filename /var/run/squid.pid
> > logfile_rotate 7
> >
> >
> >
> > 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 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
> >
> >
> >
> > 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 all
> > icp_access allow all
> >
> > cache_mgr root@linux.com
> > cache_effective_user squid
> > cache_effective_group squid
> > visible_hostname proxy.linux.com
>
> Do you have this configuration?
> Be careful, it seem a open proxy.
> http://www.squid-cache.org/Doc/FAQ/FAQ-25.html#ss25.1
>
>
> Emilio C.

# nc -vvv 66.35.250.177 3128
osdn.com [66.35.250.177] 3128 (?) open
GET http://www.google.com/ HTTP/1.0

HTTP/1.0 302 Moved Temporarily
Location: http://www.google.com.ua/cxfer?c=PREF%3D:TM%3D1086350690:S%3Ds9pd2j3mphxrM4yf
Set-Cookie: PREF=ID=093f714b2db97566:CR=1:TM=1086350690:LM=1086350690:S=2XWlsnSi1GI3vdxt; expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com
Content-Type: text/html
Server: GWS/2.1
Content-Length: 207
Date: Fri, 04 Jun 2004 12:04:50 GMT
X-Cache: MISS from 127.0.0.1
Proxy-Connection: close

<HTML><HEAD><TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.com.ua/cxfer?c=PREF%3D:TM%3D1086350690:S%3Ds9pd2j3mphxrM4yf">here</A>.
</BODY></HTML>
 sent 37, rcvd 642

In other words, yes.

-- 
vda
Received on Fri Jun 04 2004 - 08:55:49 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT