Re: Meu squid n?o desbloqueia nada
Matias Schweizer <matias-7pUm/SSSJFa7hsvYdc9FTl/I71DsQ//[email protected]> Fri, 14 Dec 2007 11:09:12 -0200
| Newsgroups | gmane.org.user-groups.linux.parana |
|---|---|
| Message-ID | <[email protected]> |
At 17:50 2/12/2007, you wrote: >Ai pessoal se puderem me ajudar.. > >configurei o squid, acl´s e os arquivos tipo sites_bloqueados.txt >mas quando configuro o proxy no IE qualquer site que eu tento acessar fica bloqueado... Bom, tente ir comentando cada http_access até achar aquele que estava bloqueando tudo. A cada comentário, restarte o squid: squid -k reconfigure. Provavelmente alguma regexp deve estar pegando qualquer site. Em tempo, algumas regras parecem estar erradas: 1. all deve ficar mesmo como 0.0.0.0 2. crie uma rede interna para o source 10.0.0.0/24 e faça a respectiva liberação. 3. Estou vendo que antes das suas acls, já há um http_access allow all, o que deveria deixar tudo passar, embora não seja esse o comportamento. 4. tem uma regra http_access allow vazia... >a baixo o meu squid.conf > >hierarchy_stoplist cgi-bin ? >cache_mem 16 MB >cache_swap_low 90 >cache_swap_high 95 >maximum_object_size 4096 KB >cache_dir ufs /var/cache/squid 5000 16 256 >cache_access_log /var/log/squid/access.log >#ftp_user Squid@ ># ACLS >acl all src 10.0.0.0/255.255.255.0 >acl manager proto cache_object >acl localhost src 127.0.0.1/255.255.255.255 >acl SSL_ports port 443 563 >acl Safe_ports port 80 # http >acl Safe_ports port 21 # ftp >acl Safe_ports port 443 563 # https, snews >acl Safe_ports port 70 # gopher >acl Safe_ports port 210 # wais >acl Safe_ports port 1025-65535 # unregistered ports >acl Safe_ports port 280 # http-mgmt >acl Safe_ports port 488 # gss-http >acl Safe_ports port 591 # filemaker >acl Safe_ports port 777 # multiling http >acl CONNECT method CONNECT >http_access allow manager localhost >http_access deny manager >http_access deny !Safe_ports >http_access deny CONNECT !SSL_ports >http_access allow all >icp_access allow all >visible_hostname on >httpd_accel_host virtual >httpd_accel_port 80 >httpd_accel_with_proxy on >httpd_accel_uses_host_header on ># >#acl almoco time MTWHF 11:45-13:45 >#acl manha time MTWHF 00:01-08:30 >#acl noite time MTWHF 18:00-23:59 >#acl fim_semana time AF ># >acl dominios_liberados urlpath_regex -i "/etc/squid/rules/dominios_liberados.txt" ># >acl financeiro url_regex -i "/etc/squid/rules/financeiro_liberados.txt" >acl noticias_liberadas url_regex -i "/etc/squid/rules/noticias_liberadas.txt" >acl palavras_liberadas url_regex -i "/etc/squid/rules/palavras_liberadas.txt" >acl sites_liberados urlpath_regex -i "/etc/squid/rules/sites_liberados.txt" >acl msn url_regex -i "/etc/squid/rules/msn.txt" ># >acl diretorios_bloqueados urlpath_regex -i "/etc/squid/rules/diretorios_bloqueados.txt" >acl dominios_bloqueados urlpath_regex -i "/etc/squid/rules/dominios_bloqueados.txt" >acl palavras_bloqueadas url_regex -i "/etc/squid/rules/palavras_bloqueadas.txt" >acl sites_bloqueados urlpath_regex -i "/etc/squid/rules/sites_bloqueados.txt" >acl webmail_bloqueados url_regex -i "/etc/squid/rules/webmail_bloqueados.txt" ># >acl diversao_bloqueados url_regex -i "/etc/squid/rules/diversao_bloqueados.txt" >acl downloads urlpath_regex -i "/etc/squid/rules/downloads.txt" ># >#acl elite proxy_auth -i "/etc/squid/rules/elite.txt" >#acl password proxy_auth REQUIRED ># >## REGRAS ># >http_access allow dominiointerno >http_access allow msn >http_access allow financeiro >http_access allow elite ># >http_access allow dominios_liberados >http_access allow noticias_liberadas >http_access allow palavras_liberadas ># >http_access deny diretorios_bloqueados >http_access deny dominios_bloqueados >http_access deny palavras_bloqueadas >http_access deny sites_bloqueados >http_access deny downloads ># >#http_access allow almoco password >#http_access allow manha password >#http_access allow noite password >#http_access allow fim_semana password ># >http_access deny webmail_bloqueados >http_access deny diversao_bloqueados ># >http_access allow localhost >http_access allow ># >http_access deny all > >Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! ><http://br.mail.yahoo.com/>http://br.mail.yahoo.com/ > >[As partes desta mensagem que não continham texto foram removidas] > > Matias Schweizer matias-7pUm/SSSJFa7hsvYdc9FTl/I71DsQ//[email protected] SCHNAUZER Plastimodelismo http://www.spmodelismo.com.br/