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 09:23:30 +0800

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:



#Default:
# acl all src all
#
#Recommended minimum configuration:
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
#
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 10.0.2.0/24 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # 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 Safe_ports port 9090 # dansguardian port
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

http_access deny all







----- Original Message -----
From: "Kinkie" <gkinkie_at_gmail.com>
To: "zhang yikai" <yikaikai_at_gmail.com>
Cc: <squid-users_at_squid-cache.org>
Sent: Monday, November 10, 2008 9:13 PM
Subject: Re: [squid-users] Run squid2.5.6 and dansguardian got error message: (111) Connection refused


> On Mon, Nov 10, 2008 at 11:11 AM, zhang yikai <yikaikai_at_gmail.com> wrote:
>>
>>
>> hi all,
>>
>> I installed squid and it work properly, then I run dansguardian, connect to squid port 3128 ok, but when I using dansguardian port 8080 as a proxy, I got the error message (111) Connection refused, I don't know what is the problem? thank you.
>
> Are you sure that dansguardian is running and that squid accepted and
> understood your forwarding instructions?
> It would seem that either squid is forwarding to the wrong parent, or
> that the parent is not running.
>
>
> --
> /kinkie
Received on Tue Nov 11 2008 - 01:26:45 MST

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