rafa298
(usa CentOS)
Enviado em 27/04/2010 - 10:38h
Galera estou configurando o squid. Esta rodando corretamente. Entretano fui instalar o sarg e me deparei com o access.log vazio.
squid.conf
http_port 10.10.10.254:3128 transparent
always_direct all
visible_hostname TesteSquid
dns_nameservers 201.48.86.1
error_directory /usr/share/squid/errors/Portuguese
cache_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
acl redelocal src 10.10.10.0/24
acl ips_liberados src "/etc/provedor/ips_liberados"
acl bloqueados url_regex -i "/etc/provedor/palavras_bloqueadas.txt"
http_access deny bloqueados
http_access deny !ips_liberados
http_access allow localhost
http_access allow redelocal
http_access deny all
Permissoes
[root@SERVIDORCENTOS squid]# ls -la
total 164
drwxr-x--- 2 squid squid 4096 Abr 11 04:02 .
drwxr-xr-x 23 root root 4096 Abr 11 04:04 ..
-rwxr-xr-x 1 squid squid 0 Abr 11 03:03 access.log
-rw-r----- 1 squid squid 19973 Abr 11 07:15 cache.log
-rw-r----- 1 squid squid 8623 Abr 11 04:02 cache.log.1.gz
-rw-r----- 1 squid squid 0 Abr 11 03:03 squid.log
-rw-r----- 1 squid squid 14503 Abr 11 07:15 squid.out
-rw-r----- 1 squid squid 39130 Abr 11 09:15 store.log
-rw-r----- 1 squid squid 29454 Abr 11 04:02 store.log.1.gz
Alguem poderia me dar uma luz?