Search squid archive

Re: Run squid2.5.6 and dansguardian got error message: (111) Connection refused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks for your help, I run wget

[root@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@xxxxxxxxx>
To: "zhang yikai" <yikaikai@xxxxxxxxx>
Cc: <squid-users@xxxxxxxxxxxxxxx>
Sent: Monday, November 10, 2008 9:13 PM
Subject: Re:  Run squid2.5.6 and dansguardian got error message: (111) Connection refused


> On Mon, Nov 10, 2008 at 11:11 AM, zhang yikai <yikaikai@xxxxxxxxx> 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux