Search squid archive

Re: Time based access

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

 



Try the below,

acl urlsFB dstdomain -r .facebook.com .fbcdn.net      # Sample Facebook domains
acl timedFB time SMTWHFA 12:30-13:29                 # Accessible time
for Facebook

# Place the below above all access rules
http_access deny urlsFB !timedFB                          # Rule to
deny Facebook unless it is time

My 2Cents.
# Edmonds.

On Fri, Jul 20, 2012 at 1:55 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!


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

  Powered by Linux