Re: how to combine this specific acl ?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 14 Jan 1999 18:19:05 +0100

Richard van Drimmelen wrote:
>
> Dear squid users,
>
> In our institute I see that one specific PC in a student room is used a
> lot for browsing 'nudies'. I'd like to restrict this browsing by
> combining three acl's, based on:
>
> - the IP address/subnetmask of the PC
> - the various sites visited,
> - browsing time (disallowed between MON-FRI 09:00-17:00)

By anding the criterias together

http_access deny STUDENT_PC COME_BACK_LATER DIRTY_LITTLE_BASTARD

This will deny access if
  it is from STUDENT_PC
  and time is COME_BACK_LATER
  and the URL matches DIRTY_LITTLE_BASTARD

Remember that access lines are searched top->down, and the first line
that fully matches dictates if the request is allowed or denied.

---
Henrik Nordstrom
Spare time Squid hacker
Received on Thu Jan 14 1999 - 10:28:10 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:02 MST