Tópico: Squid Lento
Ver Resposta Única
Antigo 26-01-2004, 15:31   #2 (permalink)
guardian_metal
 
Avatar de guardian_metal
 
Registrado em: Aug 2003
Idade: 29
Posts: 662
Agradeceu: 0
Agradecido 0 vez(es) em 0 Posts
Reputação: 0
guardian_metal
Enviar mensagem via Windows Live Messenger para guardian_metal Enviar mensagem via Skype para guardian_metal
Padrão Squid Lento

Este é minha configuração do squid.

"
http_port 8080
icp_port 0
cache_mem 100 MB
maximum_object_size 4096 KB
cache_dir ufs /var/spool/squid 500 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
emulate_httpd_log off
connect_timeout 2 minutes
acl all src 192.168.172.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 86 # Speedy
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 porn url_regex "/etc/squid/porn"
#acl noporn url_regex "/etc/squid/noporn"
#acl recepcao src 192.168.172.13
#acl laserserver src 192.168.172.8
#http_access allow noporn all
#http_access deny porn all
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#http_access deny recepcao
#http_access deny laserserver
icp_access allow all
miss_access allow all
cache_mgr henrique@lasertools.com.br
cache_effective_user squid
cache_effective_group squid
visible_hostname localhost
store_avg_object_size 4 KB
httpd_accel_host virtual
httpd_accel_port 8080
httpd_accel_with_proxy on

"
__________________
___________________________________ ______<br />Ninguém é livre se não domina a si mesmo..<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Pitágoras ( 580 a.c. )<br />__________________________________ _______<br />Linux User #363380<br />Machine #257789
guardian_metal está offline