Re: [squid-users] disabling yahoo/hotmail and other messengers?

From: Brent Clark <bclark@dont-contact.us>
Date: Thu, 03 Nov 2005 09:13:55 +0200

John Walubengo wrote:
> Can squid be used to block the above messengers?
>
> which command to use in the squid.conf file?
>
> walu.

Hi John

I use this

## MSN ##
acl msntime time M T W H F A 11:59-12:59
acl msntime time M T W H F A 16:59-18:59
acl msnp rep_mime_type ^application/x-msn-messenger$
acl msnq req_mime_type ^application/x-msn-messenger$
http_reply_access allow msnp msntime
http_reply_access allow msnq msntime
http_reply_access deny msnq
http_reply_access deny msnp

## 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 ^.*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$

http_access deny mimeblockq
http_reply_access deny mimeblockp

http_access deny mimeblockq
http_reply_access deny mimeblockp

HTH

Kind Regards
Brent Clark
Received on Thu Nov 03 2005 - 00:14:27 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:09 MST