Enviado em 12/06/2008 - 11:01h
Fala pessoal tudo certo, hoje pela manha embarquei na aventura de tentar configurar o squid sozinho mas estou tendo problemas :/ ja rodei o squid -z squid -d 1 e ta tudo certo nao da erro mas na hora de iniciar o squid aparece o erro:
2008/06/12 10:55:01| WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of '0.0.0.0/0.0.0.0'
2008/06/12 10:55:01| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored to keep splay tree searching predictable
2008/06/12 10:55:01| WARNING: You should probably remove '0.0.0.0/0.0.0.0' from the ACL named 'all'
Meu squid.conf:
hierarchy_stoplist cgi-bin ?
cache_mem 32 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
cache_dir ufs /var/cache/squid/ 500 16 256
cache_access_log /var/log/squid/access.log
ftp_user Squid@
http_port 3128
visible_hostname escuro.zapto.org
error_directory /usr/share/squid/errors/Portuguese
# ACLS
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 CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
icp_access allow all
acl Sites url_regex "/etc/squid/sites"
http_access deny Sites
#acl Palavras url_regex "/etc/squid/list/palavra"
#http_access deny Palavras
http_access allow all
T+ :D
2008/06/12 10:55:01| WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of '0.0.0.0/0.0.0.0'
2008/06/12 10:55:01| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored to keep splay tree searching predictable
2008/06/12 10:55:01| WARNING: You should probably remove '0.0.0.0/0.0.0.0' from the ACL named 'all'
Meu squid.conf:
hierarchy_stoplist cgi-bin ?
cache_mem 32 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
cache_dir ufs /var/cache/squid/ 500 16 256
cache_access_log /var/log/squid/access.log
ftp_user Squid@
http_port 3128
visible_hostname escuro.zapto.org
error_directory /usr/share/squid/errors/Portuguese
# ACLS
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 CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
icp_access allow all
acl Sites url_regex "/etc/squid/sites"
http_access deny Sites
#acl Palavras url_regex "/etc/squid/list/palavra"
#http_access deny Palavras
http_access allow all
T+ :D