clicsis
(usa Debian)
Enviado em 26/07/2007 - 14:14h
Boa tarde, gostaria de contar mais uma vez com o auxílios dos amigos em relação ao seguinte problema: Estou com o SQUID 2.6 instalado em ambiente Debian 4.0, que aparentemente está rodando só que para minha surpresa ao instalar o SARG para gerar os relatórios acabei descobrindo que o arquivos de LOG "/var/log/squid/access.log" estava em branco.
Observação:
A pasta /home/squidcache está criada e com atributo 777.
Abaixo está as configurações do meu Squid.conf
=============================================
# Dados do Squid
http_port 3128 transparent
visible_hostname server.meuservidor.com.br
dns_nameservers 127.0.0.1
# Configuracao do cache
cache_mem 128 MB
maximum_object_size_in_memory 128 KB
maximum_object_size 300 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /home/squidcache 2048 16 256
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mgr suporte@meuservidor.com.br
error_directory /usr/share/squid/errors/Portuguese
icon_directory /usr/share/squid/icons
hierarchy_stoplist cgi-bin?
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 # https, snews
acl SSL_ports port 873 # rsync
acl SSL_ports port 23 # telnet
acl Safe_ports port 80 # http
acl Safe_ports port 8080 # https
acl Safe_ports port 21 # ftp
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 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl Safe_ports port 3001 # Receptor Imprensa Nacional
acl Safe_ports port 8004 # Imprensa Nacional
acl Safe_ports port 1494 # Sigov
acl Safe_ports port 1521 # Siafi Gerencial
acl Safe_ports port 3460 # Serpro EDM
acl Safe_ports port 102 # X400
acl Safe_ports port 16000 # Siscon
acl Safe_ports port 23000 # SerproWeb
acl Safe_ports port 2631 # Sefip
acl Safe_ports port 12010 # Cnpq Curriculo Lates
acl purge method PURGE
acl CONNECT method CONNECT
acl REDE_CLIENTES src 10.0.0.0/24
acl DOWNLOADS url_regex -i .zip .exe .bz .bz2 .avi .iso .mp3 .dll .mpg .mpe$
acl PAGINAS url_regex -i .htm .html .xhtml .gif .jpeg .swf .js .jar .php .asp .$
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow PAGINAS
delay_class 2 2
delay_parameters 2 -1/-1 20000/32000
delay_access 2 allow DOWNLOADS
http_access allow REDE_CLIENTES
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 localhost
http_access deny all
icp_access allow all
miss_access allow all