remontti
(usa Debian)
Enviado em 06/12/2008 - 08:40h
Olá, estou tendo problema com squid, ele esta travando a maquina após algumas horas.
//Intel(R) Celeron(R) D CPU 430 @ 1.80GHz
// 1024 Mem
http_port 3128 transparent
cache_mem 64 MB
maximum_object_size_in_memory 4096 KB
maximum_object_size 51200 KB
minimum_object_size 0 KB
cache_swap_low 80
cache_swap_high 85
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
cache_dir ufs /var/spool/squid 8000 16 256
cache_access_log /var/log/squid/access.log
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 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 Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#http_access allow all
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
# MARCAR PACOTES
zph_tos_local 0x30
zph_tos_peer 0
zph_tos_parent off
zph_preserve_miss_tos on
# LIERA NAVEGACAO PARA A REDE
acl redewireless src 192.0.0.0/8
http_access allow localhost
http_access allow redewireless
# BLOQUEIA O RESTO
http_access deny all