Re: [squid-users] Run squid2.5.6 and dansguardian got error message: (111) Connection refused

From: zhang yikai <yikaikai_at_gmail.com>
Date: Tue, 11 Nov 2008 11:36:56 +0800


----- Original Message -----
From: "Amos Jeffries" <squid3_at_treenet.co.nz>
To: "zhang yikai" <yikaikai_at_gmail.com>
Cc: "Kinkie" <gkinkie_at_gmail.com>; <squid-users_at_squid-cache.org>
Sent: Tuesday, November 11, 2008 10:38 AM
Subject: Re: [squid-users] Run squid2.5.6 and dansguardian got error message: (111) Connection refused


>> thanks for your help, I run wget
>>
>> [root_at_localhost logs]# wget www.google.com
>> --09:19:40-- http://www.google.com/
>> => `index.html'
>> Connecting to 10.0.2.110:9090... connected.
>> Proxy request sent, awaiting response... 403 Forbidden
>> 09:19:41 ERROR 403: Forbidden.
>>
>>
>> this is the info from access.log files:
>>
>> in squid access.log:
>>
>> 1226413180.997 13 127.0.0.1 TCP_DENIED/403 1847 GET
>> http://www.google.com/ - NONE/- text/html
>>
>>
>> this is the dansguardian access.log file:
>>
>> 2008.11.11 9:19:41 - 10.0.2.110 http://www.google.com *EXCEPTION*
>> Exception client IP match. GET 1512
>>
>>
>> my squid.conf file:
>> <snip>
>> 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 localnet
>
> Needs "http_access allow localhost" here to accept traffic from
> dansguardian through 127.0.0.1
>
> Amos
>
>



[root_at_localhost logs]# wget www.google.com
--11:39:56-- http://www.google.com/
           => `index.html.1'
Connecting to 10.0.2.110:9090... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
11:39:57 ERROR 503: Service Unavailable.


now the log info change to:


- DIRECT/10.0.2.110 text/html
1226418445.662 137 127.0.0.1 TCP_MISS/503 1883 GET http://www.google.com/ - DIRECT/10.0.2.110 text/html
1226418462.424 146 127.0.0.1 TCP_MISS/503 1883 GET http://www.google.com/ - DIRECT/10.0.2.110 text/html
1226418488.169 142 127.0.0.1 TCP_MISS/503 2490 GET http://www.google.com/ - DIRECT/10.0.2.110 text/html
1226418495.286 142 127.0.0.1 TCP_MISS/503 2266 GET http://www.google.com/ - DIRECT/10.0.2.110 text/html

Received on Tue Nov 11 2008 - 03:40:11 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 11 2008 - 12:00:02 MST