Search squid archive

Re: MSN only for certain hours

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

 



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@xxxxxxxxxxxxxxxxxxxx>
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.

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

  Powered by Linux