[squid-users] block radio

From: Rodrigo Benzaquen <rodrigo@dont-contact.us>
Date: Thu, 24 Nov 2005 17:41:39 -0300

Hi Guys, I saw my users hearing radio using the squid.
 
Here my rules that doesn´t block RADIO
 
# block msn url regexs
acl msnregex url_regex -i gateway\.dll
 
# block msn/aim/icq domains
acl msndomains dstdomain webmessenger.msn.com messenger.hotmail.com
acl msndomains dstdomain messenger.net msn2go.com msnger.com iloveim.com
acl msndomains dstdomain piglet-im.com wbmsn.com aimexpress.aol.com
meebo.com
acl msndomains dstdomain toc.oscar.aol.com webaim.net go.icq.com
 
# block msn mime type (thanks ramon for this tip!)
acl msnmime req_mime_type -i ^application/x-msn-messenger$
 
#TIPOS MALOS
acl x-type req_mime_type -i ^application/octet-stream$
acl x-type req_mime_type -i application/octet-stream
acl x-type req_mime_type -i ^application/x-mplayer2$
acl x-type req_mime_type -i application/x-mplayer2
acl x-type req_mime_type -i ^application/x-oleobject$
acl x-type req_mime_type -i application/x-oleobject
acl x-type req_mime_type -i application/x-pncmd
acl x-type req_mime_type -i ^video/x-ms-asf$
 

acl x-type2 rep_mime_type -i ^application/octet-stream$
acl x-type2 rep_mime_type -i application/octet-stream
acl x-type2 rep_mime_type -i ^application/x-mplayer2$
acl x-type2 rep_mime_type -i application/x-mplayer2
acl x-type2 rep_mime_type -i ^application/x-oleobject$
acl x-type2 rep_mime_type -i application/x-oleobject
acl x-type2 rep_mime_type -i application/x-pncmd
acl x-type2 rep_mime_type -i ^video/x-ms-asf$
 
http_access deny msndomains
http_access deny msnregex
http_access deny msnmime
 
http_access deny x-type all
http_reply_access deny x-type all
http_access deny x-type2 all
http_reply_access deny x-type2 all
 

http_access allow BUENOS
http_access allow GOOD
http_access deny MALOS
http_access deny MSNE
http_access deny CHICAS
http_access deny BAD1
http_access deny BAD2
http_access deny BAD3
http_access deny BAD4
http_access deny !Safe_ports2
http_access allow all
 
 
Slds.
 
Rodrigo Benzaquen
IT
MercadoLibre.com
54-11-4014-8015
  
 
Slds.
 
Rodrigo Benzaquen
IT
MercadoLibre.com
54-11-4014-8015
Received on Thu Nov 24 2005 - 13:41:47 MST

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