Re: [squid-users] squid blocks all websites

2005-03-08 Thread Christoph Haas
On Tue, Mar 08, 2005 at 02:38:53PM -0500, Bryan Miles wrote:
 Squid is blocking all websites
 [...]
 acl localhost src 127.0.0.1/255.255.255.255
 acl gchi src 192.168.70.0/255.255.255.0
 acl all src 0.0.0.0/0.0.0.0
 acl SSL_ports port 443 563 
 acl Safe_ports port 80 21 443 563 70 210 280 488 591 777 1025-65535
 acl CONNECT method CONNECT
 http_access deny CONNECT !SSL_ports
 http_access deny !Safe_ports
 http_access deny CONNECT
 http_access allow localhost
 http_access allow gchi
 http_access allow all
 http_access deny all

First you allow only a few IPs, then you allow IPs and finally you deny
everyone? That doesn't make much sense.

Please read on ACLs in the documentation. If you are still denied access
then set debug_options ALL,1 33,2 in your squid.conf, restart squid
and watch the cache.log.

Regards
 Christoph
-- 
~
~
.signature [Modified] 3 lines --100%--3,41 All


RE: [squid-users] squid blocks all websites

2005-03-08 Thread Bryan Miles

It didn't make sense to me either, my initial configuration didn't look
like that. After trying unsuccessfully to make it work, I followed an
example I saw online at 

http://www.uniforum.ch.il.us/slides/squid/sld030.htm

I'll go back over the material, thanks for the suggestion.

Bryan



-Original Message-
From: Christoph Haas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 08, 2005 2:47 PM
To: squid-users@squid-cache.org
Subject: Re: [squid-users] squid blocks all websites

On Tue, Mar 08, 2005 at 02:38:53PM -0500, Bryan Miles wrote:
 Squid is blocking all websites
 [...]
 acl localhost src 127.0.0.1/255.255.255.255
 acl gchi src 192.168.70.0/255.255.255.0
 acl all src 0.0.0.0/0.0.0.0
 acl SSL_ports port 443 563 
 acl Safe_ports port 80 21 443 563 70 210 280 488 591 777 1025-65535
 acl CONNECT method CONNECT
 http_access deny CONNECT !SSL_ports
 http_access deny !Safe_ports
 http_access deny CONNECT
 http_access allow localhost
 http_access allow gchi
 http_access allow all
 http_access deny all

First you allow only a few IPs, then you allow IPs and finally you deny
everyone? That doesn't make much sense.

Please read on ACLs in the documentation. If you are still denied access
then set debug_options ALL,1 33,2 in your squid.conf, restart squid
and watch the cache.log.

Regards
 Christoph
-- 
~
~
.signature [Modified] 3 lines --100%--3,41 All