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

From: zhang yikai <yikaikai_at_gmail.com>
Date: Wed, 12 Nov 2008 18:57:36 +0800

hi, when I change log_ip_on_direct to off in squid.conf, the info change to :

1226524531.343 152 10.0.2.110 TCP_MISS/503 2322 GET
http://wiki.squid-cache.org/wiki/squidtheme/img/moin-www.png -
DIRECT/wiki.squid-cache.org text/html
1226524536.129 143 10.0.2.110 TCP_MISS/503 2392 GET
http://www.5ilinux.com/blog/archives/000077.html -
DIRECT/www.5ilinux.com text/html
1226524537.361 143 10.0.2.110 TCP_MISS/503 2680 GET
http://www.google.com/ - DIRECT/www.google.com text/html
1226524540.545 134 10.0.2.110 TCP_MISS/503 2680 GET
http://www.google.com/ - DIRECT/www.google.com text/html
1226524541.745 144 10.0.2.110 TCP_MISS/503 2680 GET
http://www.google.com/ - DIRECT/www.google.com text/html
"/usr/local/squid/var/logs/access.log" 84L, 9994C
                                           36,1 15%
1226524673.913 144 10.0.2.110 TCP_MISS/503 2268 GET
http://203.208.39.99/ - DIRECT/203.208.39.99 text/html
1226524676.055 145 10.0.2.110 TCP_MISS/503 2268 GET
http://203.208.39.99/ - DIRECT/203.208.39.99 text/html
1226525378.813 143 10.0.2.110 TCP_MISS/503 2685 GET
http://zh-cn.fxfeeds.mozilla.com/zh-CN/firefox/headlines.xml -
DIRECT/zh-cn.fxfeeds.mozilla.com text/html
1226525556.977 143 10.0.2.110 TCP_MISS/503 2268 GET
http://203.208.39.99/ - DIRECT/203.208.39.99 text/html
1226525751.173 146 10.0.2.110 TCP_MISS/503 1929 GET
http://www.google.com/ - DIRECT/www.google.com text/html
1226525768.345 154 10.0.2.110 TCP_MISS/503 1929 GET
http://www.google.com/ - DIRECT/www.google.com text/html

2008/11/11 Amos Jeffries <squid3_at_treenet.co.nz>:
> zhang yikai wrote:
>> hi Amos, I use wget and in the /etc/wgetrc file:
>>
>> http_proxy = http://10.0.2.110:9090
>>
>> and I can connect to google from this computer:
>>
>> [root_at_localhost ~]# ping www.google.com
>> PING www.google.com (64.233.189.147): 56 data bytes
>> 64 bytes from 64.233.189.147: icmp_seq=0 ttl=237 time=40 ms
>>
>
> Yes. ... and squid on that working machine logs:
> ... google.com ... DIRECT/64.233.189.147
>
> squid on failed machine logs:
>
> ... google.com ... DIRECT/10.0.2.110
>
> can you see the problem?
>
> Amos
>
>>
>>
>>>> ----- Original Message -----
>>>> From: "Henrik Nordstrom" <henrik_at_henriknordstrom.net>
>>>> To: "zhang yikai" <yikaikai_at_gmail.com>
>>>> Cc: "Amos Jeffries" <squid3_at_treenet.co.nz>; "Kinkie" <gkinkie_at_gmail.com>; <squid-users_at_squid-cache.org>
>>>> Sent: Tuesday, November 11, 2008 3:32 PM
>>>> Subject: Re: [squid-users] Run squid2.5.6 and dansguardian got error message: (111) Connection refused
>>>>
>>> Understood. We got squid + dansguardian working together.
>>>
>>> Different problem: why does google.com resolve to 10.0.2.110?
>>>
>>> every other working machine resolves google.com to IPs elsewhere on the net.
>>>
>>> Amos
>>> --
>>> Please be using
>>> Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
>>> Current Beta Squid 3.1.0.1
>
>
> --
> Please be using
> Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
> Current Beta Squid 3.1.0.1
>
Received on Wed Nov 12 2008 - 10:57:42 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 12 2008 - 12:00:03 MST