Re: [squid-users] Access denied without password request

From: Amos Jeffries <squid3@dont-contact.us>
Date: Sat, 05 Apr 2008 03:40:14 +1300

alpop@yandex.ru wrote:
> Hello
> I need to deny access to anywhere except www.rbc.ru. I wrote this acl:
> acl acl-pupkin proxy_auth pupkin
> acl acl-pupkin-allow dstdom_regex rbc.ru

Ew. regex. Use this instead:

   acl acl-pupkin-allow dstdomain rbc.ru

> http_access allow acl-pupkin acl-pupkin-allow
> http_access deny acl-pupkin
> It's working. But on that site as on a lot ot others there are some banners, counters, etc, which points to other sites. And proxy ask password after any moving on allowed site.
>
> Is it possible to fully deny access without any permanent password requests?

Yes, Using any of the other many ACL types which do not involve auth.
You will have to pick the criteria yourself.

Here is a useful list of the ACL types available in current squid releases:

   http://www.squid-cache.org/Versions/v2/2.6/cfgman/acl.html
   http://www.squid-cache.org/Versions/v3/3.0/cfgman/acl.html

Amos

-- 
Please use Squid 2.6.STABLE19 or 3.0.STABLE4
Received on Fri Apr 04 2008 - 08:40:16 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT