-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You could get away with ordinary ACLs.

1. Create a text file with the following values in it.

.messenger.yahoo.com
.msg.yahoo.com
.scd.yahoo.com
.sc5.yahoo.com
.webcam.yahoo.com
.filetransfer.yahoo.com

Name this as messengers.txt and put it in your squid's
config directory

2. In your squid.conf, add the following ACL:
acl chat dstdomain "/etc/squid/messengers.txt"

3. The default action for it:
http_access deny chat

*note:*
You have to place the deny entry before your default "http_access allow"
rules since squid honors the first acl which match the condition you
give it.

For MSN, just add the urls MSN is using on the text file as well.


hth,
Kenneth




Leo Angelo Cordero wrote:

> hi everyone!
>
> I just wanna ask how to block yahoo messenger and MSN messenger on
> SQUID.
>
> hope you can help regarding this.
>
>
> Thanks!
>
> Angelo
>
>
> ----------------------------------------------------------------------
>
>
> _________________________________________________ Philippine Linux
> Users' Group (PLUG) Mailing List [email protected] (#PLUG @
> irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDvbt39MTaiXoaMBgRAuFnAJ9hRA+QZZn3ppNzGIHCWMpLMq5KvwCeMcA8
Bz9HuKZYAhPDEYiADaXRo5g=
=bxNh
-----END PGP SIGNATURE-----

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to