Re: Access problems ...

From: Duane Wessels <wessels@dont-contact.us>
Date: Wed, 8 Mar 2000 21:14:13 -0700

On Wed, 8 Mar 2000, Jeffery Richards [2667] wrote:

> Hi there,
>
> We're checking out if squid might be a good proxy server for us to use.
> I've loaded up RH Linux 6.1 and the version of squid that came with it,
> namely 2.2.STABLE4. I'm having a terrible time figuring out the access
> control directives. I've looked at the FAQs and I think I understand,
> but when I try to test it I get a consistent "access denied" error. I'm
> using the following squid.conf file for testing:
>
> debug_options ALL,9
> acl all src 0.0.0.0/0.0.0.0
> http_access allow all
> icp_access allow all
> dns_testnames www.ibm.com
> cache_effective_user squid squid
>
> In netscape if I set the proxy to "localhost" and 3128 it works, but if
> I set it to "machinename" and 3128 I get access denied.

any chance there are some other http_access lines before the ones you
show above?

>
> So my question is:
>
> Why am I getting access denied? I thought 0.0.0.0/0.0.0.0 and the
> "allow" should allow anyone access.

it should.

>
> In the access.log file I'm getting the following:
>
> 952553516.159 5 1.2.3.4 TCP_DENIED/403 962 GET http://www.sprint.com/ - NONE/- -
>
> Oh, and a second question - where do the debugging messages show up? I set
> the debugging level to 9, but I don't see any difference than when it was 1.

cache.log, usually /usr/local/squid/logs/cache.log.

If you find the cache.log with all your debugging, you might search for
"because it matched".

Duane W.
Received on Wed Mar 08 2000 - 21:17:27 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:58 MST