Re: [squid-users] Time based access

From: nipun_mlist Assam <nipunmlist_at_gmail.com>
Date: Fri, 20 Jul 2012 16:45:46 +0530

Suppose you want to allow linkedin.com between 06:00-19:00 and block
all others, then you should define acls like as given below:
####-------
acl linkedin dstdomain .linkedin.com
acl DAY time 06:00-19:00
.
.
.
http_access allow linkedin DAY
http_access deny all
##-------

-Nipun
Bangalore

On Fri, Jul 20, 2012 at 4:25 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> On 20/07/2012 9:41 p.m., a bv wrote:
>>
>> Hi ,
>>
>> I tried to write a timebased acl for for testing at special time of
>> day but it didnt seem to work. I tried to block the access to CNN
>> using dstdomain .cnn.com.
>>
>> My aim is to allow facebook at special times of the day at lunch time
>> for example.
>>
>> Can someone provide me a working rule for which will allow access
>> facebook access at 12.30-13.30 ?
>>
>>
>> Regards
>
>
> Maybe it had something to do with what you configured. Or what software you
> were configuring to achieve it.
>
> ... details. Please!
>
> Amos

-- 
Regards,
Nipun
Received on Fri Jul 20 2012 - 11:15:55 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 20 2012 - 12:00:01 MDT