William,
Testei sua acl e nao deu cert, esta funcionado da seguinte forma:

acl streaming url_regex -i "/etc/squid3/acls/mimeaplicativo"
http_access deny streaming

acl proibir_musica urlpath_regex -i \.aif$ \.aifc$ \.aiff$ \.asf$ \.asx$
\.avi$ \.au$ \.m3u$ \.med$ \.mp3$ \.m1v$ \.mp2$ \.mp2v$ \.mpa$ \.mov$ \.mpe$
\.mpg$ \.mpeg$ \.ogg$ \.pls$ \.ram$ \.ra$ \.ram$ \.snd$ \.wma$ \.wmv$ \.wvx$
\.mid$ \.midi$ \.rmi$
http_access deny proibir_musica


# vi /etc/squid3/acls/mimeaplicativo

^application/octet-stream$
^application/octet-stream
^application/x-mplayer2$
^application/x-mplayer2
^application/x-oleobject$
^application/x-oleobject
^application/x-pncmd
^video/x-ms-asf$
^application/vnd.ms.wms-hdr.asfv1$
^application/x-mms-framed$
^application/streamingmedia$
^audio/mid$
^video/mpeg$
^application/x-msn-messenger$
^video/x-ms-wmv$
^audio/x-realaudio$
^video/x-ms-asx$
^video/x-ms-wvx$
^video/flv
^video/flv
^.*mms.*
^.*x-ms-asf.*
^mms://

Estou testando com proxy manual, acredito que deveria funcionar tb, coloquei

acl streaming url_regex -i "/etc/squid3/acls/mimeaplicativo"
http_access deny streaming

Antes de todas as liberações do meu squid.conf

2009/4/23 William da Rocha Lima <wroc...@hotmail.com>

>  Henry,
>
> Pode usar esta:
>
> acl deny_streaming url_regex -i "/etc/squid/internet/deny_streaming"
>
> ### CONTEUDO ###
> ^application/octet-stream$
> application/octet-stream
> ^application/x-mplayer2$
> application/x-mplayer2
> ^application/x-oleobject$
> application/x-oleobject
> application/x-pncmd
> ^video/x-ms-asf$
> ^application/vnd.ms.wms-hdr.asfv1$
> ^application/x-mms-framed$
> ^application/streamingmedia$
> ^audio/mid$
> ^video/mpeg$
> ^application/x-msn-messenger$
> ^video/x-ms-wmv$
> ^audio/x-realaudio$
> ^video/x-ms-asx$
> ^video/x-ms-wvx$
> ^video/flv
> video/flv
> ^.*mms.*
> ^.*x-ms-asf.*
> mms://
>
> Não tem falha, a melhor é deixa o youtube liberado. Quando o usuário vai
> seco ver um video e da o erro de vido indisponivel :)
>
> Abs,
> *
> William da Rocha Lima
> wroc...@hotmail.com
> *
>
> ------------------------------
> Quer deixar seu Messenger turbinado de emoticons? Clique aqui e baixe
> agora. É grátis! <http://specials.br.msn.com/ilovemessenger/pacotes.aspx>
>



-- 
Leandro Moreira
Linux Administrator: LPIC-1
e-mail/msn: lean...@leandromoreira.eti.br
Tel.: + 55(32) 9906-5713

Responder a