diogospace
(usa Debian)
Enviado em 06/02/2015 - 08:01h
Galera bom dia!
Meu squid começou a dar isso do nada, aclParseIpata: Bad host/IP
só que estava rodando normal e se refere a um lista de fullacess que tenho, mais só tem IP nela.
alguém pode me ajuda.
MEU SQUID .CONF
http_port 3128 transparent
error_directory /usr/share/squid/errors/Portuguese
cache_mem 2048 MB
maximum_object_size_in_memory 200 KB
maximum_object_size 5120 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid 2048 32 512
cache_access_log /var/log/squid/access.log
visible_hostname SERVER
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
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 localhost src 127.0.0.1/32
#acl to_localhost dst 127.0.0.0/8
#acl localnet src 10.0.0.0/8
#acl localnet src 172.16.0.0/12
#acl localnet src 192.168.0.0/16
acl SSL_ports port 443 563
#acl Safe_ports port 25 # smtp
acl Safe_ports port 587 # smtp
acl Safe_ports port 110 # pop
acl Safe_ports port 80 # http
acl Port_8080 port 8080 # prefeitura
acl Port_809 port 809 # SPtrans
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https
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 37777 # intelbras portatil
acl Safe_ports port 7070 # intepbras http
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow Port_8080
http_access allow Port_809
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 !Safe_ports
http_access allow localhost
acl redes url_regex -i "/brasfaiber/Administrativo/Internet/redes.dat"
acl black_list url_regex -i "/brasfaiber/Administrativo/Internet/lista-negra.dat"
acl white_list url_regex -i "/brasfaiber/Administrativo/Internet/lista-branca.dat"
acl Brasfaiber url_regex -i "/brasfaiber/Administrativo/Internet/brasfaiber.dat"
acl sem_acesso src "/brasfaiber/Administrativo/Internet/sem_acesso.dat"
acl FullAccess src "/brasfaiber/Administrativo/Internet/fullaccess"
acl 24horas src "/brasfaiber/Administrativo/Internet/24horas.dat"
#acl HORARIO_ALMOCO time MTWHF 12:00-13:30
#acl hrAlmoco1 time 12:00-13:00
#acl users_hrAlmoco1 src "/brasfaiber/Administrativo/Internet/users_hrAlmoco1"
#acl hrAlmoco2 time 12:30-13:30
#acl users_hrAlmoco2 src "/brasfaiber/Administrativo/Internet/users_hrAlmoco2"
#acl hr1730 time 17:30-23:59
#acl users_hr1730 src "/brasfaiber/Administrativo/Internet/users_hr1730"
#acl uoldiveo src 200.221.129.6/32
#acl extencoes url_regex -i \.avi \.mp3 \.torrent \.bat \.ini
#http_access deny extencoes !FullAccess
http_access allow sem_acesso Brasfaiber
http_access allow localhost
http_access allow FullAccess
http_access allow white_list
http_access deny redes
http_access deny black_list
http_access allow 24horas
#http_access allow users_hrAlmoco1 hrAlmoco1
#http_access allow users_hrAlmoco2 hrAlmoco2
#http_access allow users_hr1730 hr1730
http_access deny sem_acesso
#http_access deny localnet
http_access allow localhost
http_access deny all
#Allow ICP queries from local networks only
#icp_access allow localnet
#icp_access deny all
#icp_port 3130
#acl localnet src 10.0.0.0/8
#acl localnet src 172.16.0.0/12
#acl localnet src 192.168.0.0/16