[squid-users] Combining ACLs

From: Martin, Gary J <[email protected]>
Date: Mon, 20 Oct 2003 16:16:26 +0100

I need to block access to a site but only on some machines and only for certain times of day. Otherwise the site should be accessible.

This seems to work:

acl blocked_machines src 10.18.64.0/255.255.255.0
acl bad_site dstdomain badsite.com
acl bad_time time 09:00-17:00
http_access deny bad_site bad_time blocked_machines

Is that a bad way to do it? If it is, how to do it better?

Gary Martin
Received on Mon Oct 20 2003 - 09:16:32 MDT

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