Re: [squid-users] MSN only for certain hours

From: Emilio Casbas <ecasbas@dont-contact.us>
Date: Tue, 02 Aug 2005 11:07:33 +0200

Daniel Navarro wrote:

>Hi,
>
>you know what, webmin is a really suitable tool to
>make it easy.
>
>I hope you test it because will be there for further
>chances.
>
>Regards,
>
> --- Brent Clark <bclark@eccotours.dyndns.org>
>escribió:
>
>
>
>>Hi all
>>
>>I have my squid conf file as so:
>>
>>## Block AOL YAHOO ##
>>acl aol_yahoo dstdomain login.oscar.aol.com
>>acl aol_yahoo dstdomain pager.yahoo.com
>>acl aol_yahoo dstdomain shhtp.msg.yahoo.com
>>acl aol_yahoo dstdomain update.messenger.yahoo.com
>>acl aol_yahoo dstdomain update.pager.yahoo.com
>>acl aol_yahoo dstdomain companion.yahoo.com
>>acl aol_yahoo dstdomain
>>us.update.companion.yahoo.com
>>http_access deny aol_yahoo
>>
>>## Mime Blocking ## BLOCKING requested mime types
>>acl mimeblockq req_mime_type ^application/x-icq$
>>acl mimeblockq req_mime_type
>>^application/x-comet-log$
>>acl mimeblockq req_mime_type ^application/x-pncmd$
>>acl mimeblockq req_mime_type
>>^application/x-hotbar-xip20$
>>acl mimeblockq req_mime_type
>>^application/x-msn-messenger$
>>acl mimeblockq req_mime_type ^.*AIM.*
>>
>>acl mimeblockp rep_mime_type ^application/x-icq$
>>acl mimeblockp rep_mime_type ^.*AIM.*
>>acl mimeblockp rep_mime_type ^.*AIM/HTTP
>>acl mimeblockp rep_mime_type
>>^application/x-comet-log$
>>acl mimeblockp rep_mime_type ^application/x-pncmd$
>>acl mimeblockp rep_mime_type
>>^application/x-chaincast$
>>acl mimeblockp rep_mime_type
>>^application/x-hotbar-xip20$
>>acl mimeblockp rep_mime_type
>>^application/x-msn-messenger$
>>
>>http_access deny mimeblockq
>>http_reply_access deny mimeblockp
>>
>>acl staff src "/etc/SQUID/staff.txt"
>>
>>acl workdays time M T W H F A 07:00-19:30
>>#http_access allow staff workdays
>>http_access allow staff
>>
>>
>>Would it be possible to get squid to allow MSN
>>access only for these time
>>
>>
Yes

>>between 12 noon and 13H00
>>
>>
>>
>>And 18h00 to 08H00
>>
>>
acl restrict time MTWHF 18:00-08:00
http_access allow messenger restrict

where messenger is the messenger acl ..

Thanks
Emilio C.
Received on Tue Aug 02 2005 - 03:07:51 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:01 MDT