Re: [Ubuntu-BR] Duvida com SQUID

2008-05-19 Por tôpico Marcelo Garcia / Supermar


 Pessoal,

 Eu hj crio um ACL para proibir downloads por extensoes (exe, bat, etc..), e 
outra para barrar alguns sites

acl downloads_proibidos url_regex /etc/squid/downloadsdeny
acl blacklist url_regex /etc/squid/blacklist.txt
http_access deny downloads_proibidos
http_access deny blacklist

Porem eu gostaria que do site da receita por exemplo, pudesse fazer 
download. Como posso fazer isto ?

Obrigado

Marcelo 


-- 
Interessado em aprender mais sobre o Ubuntu em português?
http://wiki.ubuntu-br.org/ComeceAqui  -
ubuntu-br mailing list
ubuntu-br@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br


Re: [Ubuntu-BR] Duvida com SQUID

2008-05-19 Por tôpico Arthur Furlan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Marcelo Garcia / Supermar wrote:
 Porem eu gostaria que do site da receita por exemplo, pudesse fazer 
 download. Como posso fazer isto ?

Basta colocar a regra da receita antes:

acl downloads url_regex /etc/squid/downloadsdeny
acl blacklist url_regex /etc/squid/blacklist.txt
acl receita dstdomain receita.fazenda.gov.br
http_access allow receita downloads
http_access deny downloads
http_access deny blacklist

- --
Atenciosamente,

Arthur Furlan
[EMAIL PROTECTED]

 
 Obrigado
 
 Marcelo 
 
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIMjlAHiIxAB175NwRAiq/AJ95PLDEWJrj81U3JDznfZuNTZZTqwCgnei2
C5wXyDVOpAnFqZvmb/ne1DU=
=+R6k
-END PGP SIGNATURE-

-- 
Interessado em aprender mais sobre o Ubuntu em português?
http://wiki.ubuntu-br.org/ComeceAqui  -
ubuntu-br mailing list
ubuntu-br@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br