RE: [squid-users] Blocking specified users and sites

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Thu, 24 Oct 2002 09:31:08 +1000 (EST)

Hi,

Which out of "staff" and "sfatt" is the typo?

On Thu, 24 Oct 2002, Matthew Kaminski wrote:

> Yes, after a short look I worked out how to block certain sites, but I still
> have problem with blocking users.
> my config is something like that:
> --------------------------cut------------------
> acl bannedusers proxy_auth sfatt tempstud
> http_access deny bannedusers
> --------------------------cut------------------
>
> where "staff" and "tempstud" are usernames, and with this rulers user
> "staff" is NOT denied access, while user "tempstud" is Denied access.
>
>
> my list of acl's and hppt_access rules is:
> and NO, the machine I'm trying things out is now included in "allowedhosts"
>
> acl user_password proxy_auth REQUIRED
> authenticate_program /usr/lib/squid/squid_ldap_auth -b o=hwk -u cn -D
> cn=mops,o=hwk -w 3vp5gaw4 -f cn=%s 172.20.128.4
> acl all src 0.0.0.0/0.0.0.0
> acl college src 172.20.128.0/255.255.240.0
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> acl bannedsites dstdomain "/etc/squid/bannedsites"
> acl bannedusers proxy_auth sfatt tempstud
> acl allowedhosts src "/etc/squid/allowedhosts"

Colin

--
Colin Campbell
Unix Support/Postmaster/Hostmaster
CITEC
+61 7 3227 6334
Received on Wed Oct 23 2002 - 17:31:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:53 MST