----- Original Message ----- From: "Amos Jeffries" <squid3@xxxxxxxxxxxxx> To: "zhang yikai" <yikaikai@xxxxxxxxx> Cc: "Kinkie" <gkinkie@xxxxxxxxx>; <squid-users@xxxxxxxxxxxxxxx> Sent: Tuesday, November 11, 2008 10:38 AM Subject: Re: Run squid2.5.6 and dansguardian got error message: (111) Connection refused >> 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: >> <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@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