[squid-users] RE: Whitelist / Blacklist

From: Rodriguez Quintero, Juan Diego, SYNAPSIS Perú <jrodriguez@dont-contact.us>
Date: Wed, 22 Oct 2003 09:05:18 -0500

You may try:

acl SitesAllowed dstdomain "<path>/SitesAllowed"

http_access allow SitesAllowed
http_access deny all

wher SitesAllowed contains the sites you want your users may access.

Regards,

JD

-----Mensaje original-----
De: Olsson Mattias [mailto:mattias.olsson@siemens.com]
Enviado el: Wednesday, October 22, 2003 3:02 AM
Para: squid-users@squid-cache.org
Asunto: Whitelist / Blacklist

HI

Im trying to to make an access and deny list. My blacklist should look like
"deny everyting" and my whitelist should consist of only allowed links. The
example below works, but i need to define 0.0.0.0/0.0.0.0 as the blacklist.
How do i do that? cant find it...

acl whitelist url_regex ^http://www\.siemens\.se/

acl blacklist dstdomain .siemens.se

http_access deny blacklist !whitelist

Thanks !!!

/Mattias
Received on Wed Oct 22 2003 - 08:05:24 MDT

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