Re: [squid-users] How To Blocking Streaming Media with Squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 8 Jan 2004 20:56:05 +0100 (CET)

On 8 Jan 2004, Dave Augustus wrote:

> It appears that they are 2 methods to block streaming media using Squid.
>
> req_mime_type and url_regex used in ACL statements

req_mime_type is not that useful for the purpose. resp_mime_type is a
better match (but must be used in http_reply_access, not http_access).

> Am I correct in assuming that the req_mime_type would work *better* than
> the url_regex because the mime_type is what tells the client machine
> how to act on the content?

You most likely need to use both URL matching and response mime type
matching. Some analysing of your access.log should give some hints of what
to look for.

Regards
Henrik
Received on Thu Jan 08 2004 - 12:56:08 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:04 MST