Ajuda Squid

1. Ajuda Squid

Victor Vicente
victorvjs

(usa Ubuntu)

Enviado em 12/07/2012 - 16:53h

Boa Tarde,
Primeiramente não sei se esse é o local certo se não for me desculpem....

Mas estou tentando instalar o Squid versão 2.7.Stable9 no Ubuntu Server 11.04 e esta apresentando esse erro quando eu tento reiniciar a aplicação e andei verificando esta certo.
Podem me ajudar? Abaixo segue squid.conf e erro

root@Kratos:/etc/squid# squid reload
2012/07/12 13:12:26| ACL name 'all' not defined!
FATAL: Bungled squid.conf line 62: http_access deny all
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.



http_port 3128
visible_hostname server
cache_mgr email@email.com
error_directory /usr/share/squid/errors/Portuguese

hierarchy_stoplist cgi-bin ?
cache_mem 2048 MB
maximum_object_size_in_memory 2048 MB
maximum_object_size 1024 MB
cache_dir ufs /var/spool/squid 2048 16 256

refresh_pattern ^ftp: 360 20% 10080
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320

access_log /var/log/squid/access.log

acl localhost src 127.0.0.1/32
acl localnet src 192.168.0.0/24

acl manager proto cache_object
http_access allow manager localhost
http_access deny manager

acl purge method PURGE
http_access allow purge localhost
http_access deny purge

acl Safe_ports port 2112 # ftp
acl Safe_ports port 70 # gopher
acl Safe_ports port 80 # htto
acl Safe_ports port 210 # sais
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 443 # hhtps
acl Safe_ports port 488 # gss-http
acl Safe_ports port 563 # nntps
acl Safe_ports port 591 # filemaker
acl Safe_ports port 631 # cups
acl Safe_ports port 777 # multiling http
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # swat
acl Safe_ports port 1025-65535 #unregistered ports
http_access deny !Safe_ports

acl connect method CONNECT
acl SSL_ports port 443 # https
acl SSL_ports port 563 # nntps
acl SSL_ports port 873 # rsync
http_access deny connect !SSL_ports

acl domains dstdomain "/etc/squid/domains"
http_access deny domains

acl words url_regex -i "/etc/squid/words"
http_access deny words

acl extensions urlpath_regex -i "/etc/squid/extensions"
http_access deny extensions

http_access allow localnet
http_access allow localhost
http_access deny all


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts