[squid-users] Re: block radio / streaming audio ....

From: Adam Aube <aaube01@dont-contact.us>
Date: Sat, 24 Jul 2004 14:04:51 -0400

Peter Marshall wrote:

> Does anyone know how to block streaming audio ? I blocked streaming video
> with the rule below ... If anyone knows a better way I am all ears :-)
>
> acl banned_types url_regex -i .mpeg$ .mpg$ .avi$ .wmv$ .mp3$ .rm$ .asf$

A similar rule should work for streaming audio - provided a URL is requested
that has a file extension you are blocking.

You could also block by MIME type. Check the access.log entries for the MIME
types, and could block them using rep_mime_type and http_reply_access.

Adam
Received on Sat Jul 24 2004 - 12:10:21 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT