[FUG-BR] Duvida Squid !!!

Alexandre Correa alexandre em sabbath.com.br
Quarta Outubro 24 01:05:08 BRST 2007


squid 2.6 é recomendado pelos desenvolvedores.. o 2.6 teve muita melhoria...

o que precisa descobrir é o erro que acontece ai... tem mais algum detalhe ?

cache.log ?

On 10/23/07, Wesley Miranda <wesleymiranda2 em gmail.com> wrote:
> Faco um teste e coloca o squid-2.5.STABLE14, eu estava colocando o 2.6 em um
> cliente e estava dando altas falhas, assim que mudei pro 2.5 tudo funcional
> perfeitamente.
>
> Segue um squid.conf rodando em um fbsd 6.2 e squid 2.5
>
> http_port 8181
> icp_port 0
>
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
>
> cache_mem 32 MB
> cache_swap_low  90
> cache_swap_high 95
> cache_effective_user squid
> cache_effective_group squid
> maximum_object_size 512 MB
> minimum_object_size 0 KB
> ipcache_size 1024
> ipcache_low  90
> ipcache_high 95
> fqdncache_size 1024
>
> cache_dir diskd /usr/local/squid/cache 2048 16 256
>
> cache_access_log /usr/local/squid/logs/access.log
> cache_log /usr/local/squid/logs/cache.log
> cache_store_log none
> cache_swap_log /usr/local/squid/logs/swap.log
>
> logfile_rotate 2
> redirect_rewrites_host_header off
> cache_replacement_policy GDSF
>
> emulate_httpd_log off
> pid_filename /usr/local/squid/logs/squid.pid
> debug_options ALL,1
> log_fqdn on
>
> refresh_pattern ^ftp: 15 20% 2280
> refresh_pattern ^gopher: 15 0% 2280
> refresh_pattern . 15 20% 2280
> acl all src 0.0.0.0/0.0.0.0
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
> acl to_localhost dst 127.0.0.0/8
> 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
> acl localnet src 192.168.17.0/255.255.255.0
> acl mimes_proibidos_req req_mime_type
> "/usr/local/etc/squid/mime_proibidos.txt"
> acl mimes_proibidos_rep rep_mime_type
> "/usr/local/etc/squid/mime_proibidos.txt"
>
> http_reply_access deny mimes_proibidos_rep
> http_reply_access deny mimes_proibidos_req
>
> acl bloqueados url_regex -i "/usr/local/etc/squid/bloqueados/sites"
> http_access deny bloqueados
>
> http_access allow manager localhost
> http_access deny manager
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access allow localnet
> http_access deny all
>
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
>
> cache_mgr wesley em freebsdconsult.com.br
> visible_hostname http://www.prevdent.com.br
> memory_pools on
> forwarded_for on
> log_icp_queries off
> buffered_logs on
> icon_directory /usr/local/etc/squid/icons
> error_directory /usr/local/etc/squid/errors/Portuguese
> mime_table  /usr/local/etc/squid/mime.conf
>
> Abraco.
>
> Em 23/10/07, Fernando <fernandof em w3tech.com.br> escreveu:
> >
> > Pessoal estou com a seguinte dificuldade:
> >
> > Uso BSD 4.10 e 6.2
> >
> > No 6.2 não abre o site do orkut sem proxy parent mas faz downloads
> > perfeitamente.
> >
> > Se eu coloco proxy parent abre o orkut, mas nao faz downloads completos.
> >
> > Quanto no 4.10 funciona tudo direitinho, troquei um servidor 6.2 para
> > tirar a dúvida e realmente funcionou tudo no 4.10.
> >
> > O que pode ser isso no squid????????
> >
> > VALEU desde já
> > -------------------------
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


-- 

Sds.
Alexandre J. Correa
Onda Internet / OPinguim.net
http://www.ondainternet.com.br
http://www.opinguim.net


Mais detalhes sobre a lista de discussão freebsd