Search squid archive

Re: Time based access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux