RE: [squid-users] Blocking media player streaming over HTTP

From: Bostjan Berglez <bostjan.berglez@dont-contact.us>
Date: Tue, 26 Jun 2001 10:47:43 +0200

Here is the sample ACL from my Squid that blocks some certain file types eg.
Media Player, mp3,...

Put this ACL in squid.conf:

acl BLOCK url_regex "/opt/squid/etc/block.acl" # Type your path to the file
block.acl
http_access deny BLOCK
deny_info ERR_DENIED_FILE_TYPE BLOCK # You can make your own error msg, or
just comment it if you want to use default ACCES DENIED.

Here is the block.acl file:

#/opt/squid/etc/blokada.acl
# Blocking mpeg,avi,mp3...
\.(afx|asf|asx|au|avi|divx|m3u|mov|mp2|mp3|mpeg|mpg|qt|ra|ram|rm|viv|vivo|vo
b|vqf|wav|wma|wmv|vbs|shs|pif)($|\?)

That's it

Please let me now how it works. It works fine with me.

Best regards

Bostjan

  Can anyone tell me how to block Microsoft Media Player, when it is
configured to go out over HTTP.
  And Quicktime for that matter.
  I can do it for Real Player - but not MMS or Quicktime.

   Thanks
      Harry
Received on Tue Jun 26 2001 - 02:47:53 MDT

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