Re: squid.conf -- acl flags -= Still no go! =-

From: Duncan Anker <>
Date: Tue, 06 May 1997 16:54:19 PDT

>Date: Tue, 6 May 1997 16:59:40 -0400 (EDT)
>From: Jason Lixfeld <>
>To: Duncan Anker <>
>Subject: Re: squid.conf -- acl flags -= Still no go! =-
>Ok, now I have this:
>acl manager proto cache_object
>acl localhost src
>acl officenet src
>acl all src
>acl SSL_ports port 443 563
>http_access deny !officenet
>icp_access deny !officenet
>Do you think I should add a http_access deny all, icp_access deny all?

No. If you deny all, officenet won't work either.

I tried it with this config, and the proxy does not give me an error,
>however if I go back and look into the access.log I get:
>862939318.735 99 TCP_DENIED/400 469 GET
> - NONE/- -
>862939328.658 4 TCP_DENIED/400 469 GET
> - NONE/- -
>862939861.198 6142 ERR_INVALID_REQ/400 290 NONE - - NONE/- -
>but I was under the impression that squid would give you a 403 error when
>trying to access the proxy.

I'm not sure what error code it should return. 403 would make sense.
You can actually customise this, though. There is a section called
deny_info which allows you to point the browser to a specific page
when access is denied. So you could set up an HTML document
explaining that only officenet users can access the proxy, which
most users would find more informative than a generic permission
denied message anyway.

> Funny though, I'm currently at an IP of
> and I have been accessing this proxy (for testing purposes).
>As I said before, I can get to all the sites, but the entries do not show
>up in any of the logs. And I do not get any of the errors in the logs as
>described above.

Interesting. Is your client going direct, or talking to a different
proxy? That's the only thing I can think of.

Duncan Anker
Health freaks are going to feel stupid one day, when they're
lying in a hospital bed, dying of nothing.
Get Your *Web-Based* Free Email at
Received on Tue May 06 1997 - 16:57:44 MDT

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