<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<BR>
Eu ja estou bloqueando o youtube atraves do squid. Mas minha ideia era de bloquear qualquer arquivo com a extensao desses videos, para, dessa forma, bloquear qualquer outro conteudo que contenha videos.<BR>
Ate arrumar outra solucao, vou bloqueando as URL`s pelo squid mesmo. =D<BR>
<BR>
Qualquer outra forma sera bem vinda.....<BR>
<BR>
[]s<BR>
<BR>
<BR>
Alexandre<BR>
<BR><BR> <BR>
<BLOCKQUOTE>
<HR>
Date: Tue, 16 Oct 2007 11:33:04 -0300<BR>From: jasonnfedora@gmail.com<BR>To: fedora-users-br@redhat.com<BR>Subject: Re: [Fedora-users-br] Squid X Videos<BR><BR>Perdoe-me a regra correta, testei aqui e esta funcionando:<BR><BR>iptables -A OUTPUT -d <A href="http://www.youtube.com/" target=_blank>www.youtube.com</A> -s <A href="http://10.114.60.0/24" target=_blank>10.114.60.0/24</A> -j REJECT<BR><BR>Chain OUTPUT (policy ACCEPT) <BR>target prot opt source destination<BR>REJECT 0 -- <A href="http://10.114.60.0/24" target=_blank>10.114.60.0/24</A> <A href="http://208.65.153.253/" target=_blank>208.65.153.253</A><BR>REJECT 0 -- <A href="http://10.114.60.0/24" target=_blank>10.114.60.0/24</A> <A href="http://208.65.153.238/" target=_blank>208.65.153.238</A><BR>REJECT 0 -- <A href="http://10.114.60.0/24" target=_blank>10.114.60.0/24</A> <A href="http://208.65.153.251/" target=_blank>208.65.153.251</A><BR><BR><BR>
<DIV><SPAN class=EC_gmail_quote>Em 16/10/07, <B class=EC_gmail_sendername>Cristiano Furtado</B> <<A href="mailto:jasonnfedora@gmail.com">jasonnfedora@gmail.com</A>> escreveu:</SPAN>
<BLOCKQUOTE class=EC_gmail_quote style="PADDING-LEFT: 1ex">E por que vc não bloqueia o proprio youtube?<BR><BR>se seu kernel esta aceitando strings digite este comando:<BR><BR>iptables -A OUTPUT -i eth1 -s <A href="http://www.youtube.com/" target=_blank>www.youtube.com</A> -j REJECT<BR><BR>Chain OUTPUT (policy ACCEPT) <BR>target prot opt source destination<BR>REJECT tcp -- <A href="http://208.65.153.251/" target=_blank>208.65.153.251</A> anywhere reject-with icmp-port-unreachable <BR>REJECT tcp -- <A href="http://208.65.153.253/" target=_blank>208.65.153.253</A> anywhere reject-with icmp-port-unreachable<BR>REJECT tcp -- <A href="http://208.65.153.238/" target=_blank>208.65.153.238</A> anywhere reject-with icmp-port-unreachable<BR><BR>Quando tentarem acessar ao youtube inclusive ao https não vai cosneguir a navegação. <BR><BR><BR><BR>
<DIV><SPAN class=EC_gmail_quote>Em 16/10/07, <B class=EC_gmail_sendername>Alexandre Singulani</B> <<A href="mailto:alexsingr@hotmail.com"> alexsingr@hotmail.com</A>> escreveu:</SPAN>
<DIV><SPAN class=EC_e id=EC_q_115a92dfeb8111a4_1>
<BLOCKQUOTE class=EC_gmail_quote style="PADDING-LEFT: 1ex"><BR>Criei uma acl da seguinte forma:<BR><BR>acl downloads urlpath_regex -i "/etc/squid/bloqueados/extensao"<BR><BR>e dentro do arquivo "extensao" eu coloquei as extensões que serão bloqueadas:<BR><BR>\.exe$ <BR>\.mp3$<BR>etc...<BR><BR>mas coloquei a flv tambem<BR><BR>\.flv$<BR><BR>só que não está bloqueando os vídeos. Quanto às outras extensões, tá bloqueando normalmente.<BR><BR>Alguém pra me salvar??? :D<BR><BR><BR><BR>[]s <BR><BR><BR>----------------------------------------> From: <A href="mailto:nullck@hotmail.com">nullck@hotmail.com</A>> To: <A href="mailto:fedora-users-br@redhat.com">fedora-users-br@redhat.com</A>> Subject: RE: [Fedora-users-br] Squid X Videos> Date: Tue, 16 Oct 2007 11:48:05 +0000> CC:>>> vc esta fazendo isso usando acl flash url_regex -i *\.flv$ ??>> eu to fazendo desse jeito , existe outras formas de realizar esse bloqueio ???>>> Obrigado>> NullCk>>> ----------------------------------------> From: <A href="mailto:andre@felicio.com.br">andre@felicio.com.br</A>> To: <A href="mailto:fedora-users-br@redhat.com">fedora-users-br@redhat.com</A>> Subject: Re: [Fedora-users-br] Squid X Videos> Date: Tue, 16 Oct 2007 00:13:14 -0300> CC:>> Rau,>> A Monday 15 October 2007 21:06:23, Alexandre Singulani escreveu:>> Pessoal, tenho uma acl no squid pra bloqueio de arquivos pela extensão.>> Bloqueio downloads de mp3, arquivos .exe, pif, wmv, entre outros. Um tempo>> atrás adicionei nessa lista arquivos .flv (vídeos do youtube e afins) e se>> não estou enganado funcionou. Hoje em dia estou precisando de bloquear os>> vídeos, mas não ta bloqueando com essa extensão. Por acaso <BR> seria outra??>> É .flv mesmo, mas confira no log de acesso do seu squid o que o browser anda> pedindo.>>> --> Att,>> André Felício> <A href="http://www.felicio.com.br/" target=_blank>http://www.felicio.com.br </A>>> I'm having fun HITCHHIKING to CINCINNATI or FAR ROCKAWAY!!>> --> Fedora-users-br mailing list> <A href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</A>> <A href="https://www.redhat.com/mailman/listinfo/fedora-users-br" target=_blank>https://www.redhat.com/mailman/listinfo/fedora-users-br</A>>> _________________________________________________________________> Conheça o Windows Live Spaces, a rede de relacionamentos conectada ao Messenger!> <A href="http://spaces.live.com/signup.aspx" target=_blank>http://spaces.live.com/signup.aspx</A>>> --> Fedora-users-br mailing list> <A href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</A>> <A href="https://www.redhat.com/mailman/listinfo/fedora-users-br" target=_blank>https://www.redhat.com/mailman/listinfo/fedora-users-br</A><BR><BR>_________________________________________________________________<BR>Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver offline. Conheça o MSN Mobile! <BR><A href="http://mobile.live.com/signup/signup2.aspx?lc=pt-br" target=_blank>http://mobile.live.com/signup/signup2.aspx?lc=pt-br</A><BR><BR>--<BR>Fedora-users-br mailing list <BR><A href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com </A><BR><A href="https://www.redhat.com/mailman/listinfo/fedora-users-br" target=_blank>https://www.redhat.com/mailman/listinfo/fedora-users-br</A><BR></BLOCKQUOTE></SPAN></DIV></DIV><BR><BR clear=all><BR>-- <BR>Cristiano Furtado<BR>Gerente de TI - Projetos de Software Livre <BR>Embaixador do Fedora no Brasil<BR><BR>Sites:<BR><A href="http://www.projetofedora.org/" target=_blank>http://www.projetofedora.org</A><BR><A href="http://www.jasonnfedora.eti.br/" target=_blank>http://www.jasonnfedora.eti.br</A><BR><A href="http://www.fedora.org.br/" target=_blank>http://www.fedora.org.br</A><BR><A href="http://www.ekaaty.com.br/" target=_blank>http://www.ekaaty.com.br</A> </BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>Cristiano Furtado<BR>Gerente de TI - Projetos de Software Livre<BR>Embaixador do Fedora no Brasil<BR><BR>Sites:<BR><A href="http://www.projetofedora.org/" target=_blank>http://www.projetofedora.org </A><BR><A href="http://www.jasonnfedora.eti.br/" target=_blank>http://www.jasonnfedora.eti.br</A><BR><A href="http://www.fedora.org.br/" target=_blank>http://www.fedora.org.br</A><BR><A href="http://www.ekaaty.com.br/" target=_blank>http://www.ekaaty.com.br</A> </BLOCKQUOTE><br /><hr />Conheça o Windows Live Spaces, o site de relacionamentos do Messenger! <a href='http://spaces.live.com/signup.aspx' target='_new'>Crie já o seu!</a></body>
</html>