RE: only allowing web in pre definne time slotes

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

 



Yes, you can configure squid to allow Internet browsing only at
specified times. Just define ACL of 'time' type and refer to in
'http_access' directives. For example, in you situation you can use the
following:

acl allowed_time_1 time 8:00-9:00
acl allowed_time_2 time 12:00-13:00
acl allowed_time_3 time 17:00-19:00

http_access allow allowed_time_1
http_access allow allowed_time_2
http_access allow allowed_time_3
http_access deny all

With this configuration SQUID will allow access olnly at the times
specified in your message. However, no other access controls which you
may also need (such as based on a client's address) are included in the
example.

Alexey Fadyushin.
Brainbench MVP for Linux
http://www.brainbench.com


> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of lasa
> Sent: Wednesday, November 02, 2005 3:00 PM
> To: redhat mailing list
> Subject: only allowing web in pre definne time slotes
> 
> Hi all,
> I need to config in my RH 9.0 proxy and DHCP server to start Internet
> browsing only at 8.00-9.00am in the morning, 12.00-1.00pm in the
afternoon
> and 5.00-7.00pm only. Is there any way to config this in the
dhcpd.conf or
> in squid.conf file by editing the parameters of it. Pls specify the
way of
> it..............?
> 
> --
> Lasantha Amarasinghe
> Sri Lanka
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux