Squid simplesmente falha ao iniciar

1. Squid simplesmente falha ao iniciar

Leonardo Piffero Curti
CurT1

(usa Debian)

Enviado em 20/06/2017 - 10:04h

Fiz uma configuração bem básica, porém quando dou start pela linha de comando, o squid retorna que iniciou, mas não. Já tentei no webmin também para ver se ele retorna alguma mensagem de erro, mas também não, ele só retorna a mensagem:
Falhou ao iniciar o Squid :
Starting Squid HTTP proxy: squid.

Segue meu .conf, peço que me ajudem a identificar algum erro:

#Nome do host
visible_hostname serversquid

#porta
http_port 3128

#AUTENTICACAO LDAP
auth_param basic realm Autentique-se para acesso a rede
auth_param basic program /usr/lib/squid/ldap_auth -R -v 3 -b "dc=serversquid" -f "uid=%s" -h 10.12.198.18 -p 389
auth_param basic credentialsttl 60 minute
acl ldapauth proxy_auth REQUIRED

#Cache
cache_mem 32 MB
maximum_object_size_in_memory 64 KB
maximum_object_size 700 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/cache/squid 2048 16 256
cache_access_log /var/log/squid/access.log
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 20% 2280
refresh_pattern . 15 20% 2280

#CONTROLE DE ACESSO - REGRAS PADRAO SQUID
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl redelocal src 10.12.198.0/255.255.255.0
acl localhost src 127.0.0.0/255.255.255.0
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 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 Safe_ports port 1025-65535 # portas altas
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

#REGRAS DO ADM REDE
acl palavras_bloqueadas url_regex -i "/etc/squid/palavras_bloqueadas"
http_access deny palavras_bloqueadas
http_access allow redelocal
http_access allow localhost
http_access deny all

OBS: Preciso que o proxy peça autenticação de usuário, uso o Ldap
Squid Cache: Version 2.7.STABLE9
Uso no debian


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts