Search squid archive

Re: How to block shoutcast streams?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-----------------------------------

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux