Ara vc tem que colocar a regra antes do s
bloqueios, tente lá
acl proxygw
url_regex -i "/etc/squid/bloqueados/proxy/domains.txt"
acl ips_acessofull url_regex -i "/etc/squid/liberados/ips_acessofull.txt
acl blockedsites url_regex -i "/etc/squid/bloqueados/block.txt"
acl unblockedsites url_regex -i "/etc/squid/bloqueados/unblock.txt"
acl malware_block_list url_regex -i
"/etc/squid/mbl/malware_block_list.txt"
http_access
allow ips_acessofull
http_access deny proxygw
http_access deny malware_block_list
http_access deny blockedsites !unblockedsites
http_access deny !Safe_ports
http_access allow localnet
http_access allow localhost
http_access deny CONNECT
De: Marceleza - Gmail [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 6 de
setembro de 2006 16:20
Para: [email protected]
Assunto: Re: [squid-br] Regex
Libera ips
Valeu Defs.
Funcionou.
Txs a lot!
DropsDef escreveu:
Marceleza - Gmail wrote:
> Pessoal,
>
> A regra abaixo intitulada IPS_ACESSOFULL nao esta funcionando. Alguem
> saberia identificar o motivo?
>
> acl proxygw url_regex -i
"/etc/squid/bloqueados/proxy/domains.txt"
> acl ips_acessofull url_regex -i
"/etc/squid/liberados/ips_acessofull.txt
> acl blockedsites url_regex -i "/etc/squid/bloqueados/block.txt"
> acl unblockedsites url_regex -i
"/etc/squid/bloqueados/unblock.txt"
> acl malware_block_list url_regex -i
"/etc/squid/mbl/malware_block_list.txt"
>
> http_access deny proxygw
> http_access deny malware_block_list
> http_access deny blockedsites !unblockedsites
> http_access deny !Safe_ports
> http_access allow localnet
> http_access allow localhost
> http_access allow ips_acessofull
> http_access deny CONNECT
>
>
A ordem dos tratores alteram o viaduto.
As permissões necessitam vir antes das negações na diretiva http_access.
Ex.:
http_access allow localnet
http_access allow localhost
http_access allow ips_acessofull
http_access deny proxygw
http_access deny malware_block_list
http_access deny blockedsites !unblockedsites
http_access deny !Safe_ports
http_access deny CONNECT
--
DropsDef
http://dropsdef.blogspot.com
msn: [EMAIL PROTECTED]
skype: dropsdef