daniel18
(usa Ubuntu)
Enviado em 24/06/2013 - 12:14h
Caros, estou configurando o Squid, porém estou com alguns erros sendo apresentados conforme segue. baixo o arquivo .com tbm!
Agradeço desde já!
Cache error:
Iniciando o cache do Squid com o comando squid3 -f /etc/squid3/squid.conf -z ..
2013/06/24 12:04:21| ERROR: '116.213.96.5' is a subdomain of '116.213.96.5'
2013/06/24 12:04:21| ERROR: because of this '116.213.96.5' is ignored to keep splay tree searching predictable
2013/06/24 12:04:21| ERROR: You should remove '116.213.96.5' from the ACL named 'sites_bloqueados'
FATAL: Bungled squid.conf line 32: acl sites_bloqueados dstdomain "/etc/squid3/acls/black.list.bkp"
Squid Cache (Version 3.1.20): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys
Maximum Resident Size: 59392 KB
Page faults with physical i/o: 0
squid.conf :
http_port 8080 transparent
#
#acl all src all 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl manager proto 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 8.0.0.0/32
#
acl localnet src 172.16.0.0/24
#
acl SSL_ports port 443
acl SSL_ports port 563
acl SSL_ports port 873
#
acl Safe_ports port 80
acl Safe_ports port 8080
acl Safe_ports port 21
acl Safe_ports port 443
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 631
acl Safe_ports port 873
acl Safe_ports port 901
#
acl purge method PURGE
acl CONNECT method CONNECT
#
acl sites_bloqueados dstdomain "/etc/squid3/acls/black.list.bkp"
acl liberados src "/etc/squid3/acls/liberados"
acl horario_almoco time 12:00-14:00
#
http_access allow liberados
http_access allow sites_bloqueados horario_almoco
http_access deny sites_bloqueados
#
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 !sites_bloqueados
#
icp_access allow localnet
icp_access deny all
#
access_log /var/log/squid3/access.log squid
#
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
#
cache_effective_user proxy
cache_effective_group proxy