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

From: Odhiambo Washington <wash@dont-contact.us>
Date: Wed, 16 Nov 2005 11:20:02 +0300

* On 16/11/05 09:04 +0100, Boniforti Flavio wrote:
> 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.

He said that it will allow you to "see the clients used in you
access.log", not that you need that for the rules to work ;)
And yes, if you enable that option, log file size will increase.

-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
One man's theology is another man's belly laugh.
Received on Wed Nov 16 2005 - 01:20:11 MST

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