Bonjour,
depuis maintenant 2 semaines environs, j’ai le problème ci-dessous et la solution provisoire (pour ne pas dire la bidouille) que j’ai trouvée ne me satisfait pas !!
sur une Wheezy, j’ai installé squid3 avec authentification sur un LDAP externe (serveur scribe) et jusque là, tout marche nikel. J’installe donc squidguard et le paramètre avec les listes noires. La commande de test squiGuard -d me dit que tout va bien : (2015-06-25 13:11:49 [10509] INFO: squidGuard ready for requests (1435230709.824).
A partir du moment ou j’insère les lignes dans squid.conf pour prendre en compte squidguard, celui-ci s’arrête :
voici mon squid.conf bloquant :
http_port 3128
auth_param basic program /usr/lib/squid3/squid_ldap_auth -v 3 -b "ou=education,$
auth_param basic children 10
auth_param basic realm Veuillez vous identifier !!
auth_param basic credentialsttl 1 hours
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # 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 CONNECT method CONNECT
acl LocalNet src 192.168.0.0/16
acl ldap_auth proxy_auth REQUIRED
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow ldap_auth
http_access allow LocalNet
http_access deny all
coredump_dir /var/spool/squid3
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
url_rewrite_program /usr/bin/squidGuard -C /etc/squidguard/squidGuard.conf
url_rewrite_children 50
Pour arriver à faire fonctionner squidguard, j’ai modifier :
en
inutile de dire que j’ai cherché sur le net mais faut peut-être que je change de lunettes, voir de cerveau !!!
Merci de vos pistes !!