Re: [squid-users] How to block shoutcast streams?

From: Boniforti Flavio <boniforti@dont-contact.us>
Date: Wed, 16 Nov 2005 09:04:41 +0100

Brent Clark wrote:

> ## Stop multimedia downloads ##
> acl useragent browser -i ^.*NSPlayer.*
> acl useragent browser -i ^.*player.*
> acl useragent browser -i ^.*Windows-Media-Player.*
> acl useragentq rep_mime_type ^.*video.*
> acl useragentq rep_mime_type ^.*audio.*
> http_access deny useragent
> http_access deny useragentq
>
> For future, you may want to try switching "log_mime_hdrs off" to on and
> then you will see the clients used in you access.log.

So you're telling me that I have to switch "log_mime_hdrs" to "on" to
have your ACLs working, right? But, doesn't this measure make the logs
grow very large? I actually have daily logs ranging from 30 MB to over
50 MB.

-- 
-----------------------------------
Boniforti Flavio
Provincia del Verbano-Cusio-Ossola
Ufficio Informatica
Tecnoparco del Lago Maggiore
Via dell'Industria, 25
28924 Verbania
-----------------------------------
Received on Wed Nov 16 2005 - 01:04:57 MST

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