RE: [squid-users] Blocking Yahoo! & MSN Messengers thru Squid.

From: Kirk Ty <[email protected]>
Date: Mon, 3 Mar 2003 11:25:12 -0600

Yeah, is a huge ip-block and no, am not completely sure. That's what I
found on a Microsoft site though. Haven't had any complaints from any users
though and MSN is blocked. Mime-types works, too and probably is easier to
stick in.

-----Original Message-----
From: G Welter [mailto:G.Welter@rocleiden.nl]
Sent: Monday, March 03, 2003 10:16 AM
To: Squid@Compucenter.org; Kirk Ty; squid-users@squid-cache.org
Subject: RE: [squid-users] Blocking Yahoo! & MSN Messengers thru Squid.

Wow, your MSN acl's are too broad.You are blocking entire ip-blocks. Are you
sure all 65000 ip's are used bij MSN messenger?

I don't know about Yahoo, but you can block MSN messenger on mime type:

acl msn_messenger req_mime_type -i "illegal-mime-types.txt"
http_access deny msn_messenger

and illegal-mime-types.txt contains line like:
(I also block comet cursor, hotbar, etc.)

^application/x-msn-messenger$

Grtz Gerben.

>>> "Kirk Ty" <KirkTy@ivestafinancial.com> 03/03/03 04:43PM >>>
This will fix your issues. Will block IM but not yahoo mail or hotmail.

squid.conf
acl AOL-YAHOO-MESSENGER dstdomain login.oscar.aol.com
acl AOL-YAHOO-MESSENGER dstdomain pager.yahoo.com
acl AOL-YAHOO-MESSENGER dstdomain shttp.msg.yahoo.com
acl AOL-YAHOO-MESSENGER dstdomain update.messenger.yahoo.com
acl AOL-YAHOO-MESSENGER dstdomain update.pager.yahoo.com
acl MSN-MESSENGER dst 64.4.13.0/255.255.255.0
acl MSN-MESSENGER dst 207.46.110.0/255.255.255.0

http_access deny AOL-YAHOO-MESSENGER
http_access deny MSN-MESSENGER

-hup it when finished.

Will speed up your proxy tremendously....or at least that's what I saw once
I did it. Doesn't make people too happy, but that's life.

> -----Original Message-----
> From: SSCR Internet Admin [mailto:admin@sscrmnl.edu.ph]
> Sent: Monday, March 03, 2003 2:12 PM
> To: Squid@Compucenter.org; Squid-Users
> Subject: RE: [squid-users] Blocking Yahoo! & MSN Messengers thru
> Squid.
>
> have you tried blocking it on iptables? port 5101 is the one that msn msgr
> is using...
>
> -----Original Message-----
> From: Georges J. Jahchan, Eng. [mailto:Squid@Compucenter.org]
> Sent: Saturday, March 01, 2003 4:20 PM
> To: Squid-Users
> Subject: [squid-users] Blocking Yahoo! & MSN Messengers thru
> Squid.
>
> Trying to block Yahoo! Messenger & MSN Messenger without disallowing
> connections to TCP ports 443 & 563 or blocking Yahoo! Mail and HotMail in
> squid v2.5 stable1.
> Following is the interesting part in squid.conf:
> acl SSL_ports port 443 563
> acl CONNECT method CONNECT
> http_access deny CONNECT !SSL_ports
> In the access log, I see the following:
> 1046394571.141 9423 127.0.0.1 TCP_MISS/200 2755 CONNECT
> loginnet.passport.com:443 - DIRECT/65.54.228.253 -
> 1045515709.636 12619 127.0.0.1 TCP_MISS/200 15952 CONNECT
> login.yahoo.com:443 - DIRECT/64.58.76.98 -
> My guess is the Messengers would connect through any open port, but
> I have not tested it.
> Obviously, both are working. Blocking access to port 443 is out of
> the question as this disables access to secure web sites through squid.
> Blocking loginnet.passport.com and login.yahoo.com would mean login
> becomes impossible to HotMail and Yahoo! Mail.
> Any ideas on how to "surgically" block the Messengers without
> blocking Yahoo! Mail and HotMail in squid?
> TIA
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003
>
> --
> This message has been scanned for viruses and
> dangerous contents on SSCR Email Scanner Server, and is
> believed to be clean.
>
>
Received on Mon Mar 03 2003 - 10:25:26 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:54 MST