Re: ACL with time limts

From: Duane Wessels <[email protected]>
Date: Mon, 16 Aug 1999 12:18:16 -0600

On Mon, 16 Aug 1999, William Jackson wrote:

> Does anyone have any examples of ACLS limiting access to the proxy within
> set time periods??
>
> I cant get it to work with time limitations
>
> I want X IP address only to be able to access the cache during lunch time
> and after hours
> help needed

How about something like:

        acl X src 1.2.3.4
        acl NOON time 12:00-13:00
        acl AFTERHOURS time 17:00-23:59

        http_access allow X NOON
        http_access allow X AFTERHOURS
        http_access deny X

Duane W.
Received on Mon Aug 16 1999 - 12:08:08 MDT

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