RE: [squid-users] Whitelist / Blacklist

From: Adam Aube <aaube@dont-contact.us>
Date: Wed, 22 Oct 2003 09:04:14 -0400

> 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.

> acl whitelist url_regex ^http://www\.siemens\.se/
> acl blacklist dstdomain .siemens.se
> http_access deny blacklist !whitelist

Since you want to deny anything that's not on your whitelist, just use
something like this:

acl whitelist url_regex ^http://www\.somesite\.com
http_access deny !whitelist

Adam
Received on Wed Oct 22 2003 - 07:04:17 MDT

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