marcos.menini
(usa Slackware)
Enviado em 04/08/2008 - 14:20h
Oi pessoal, alterei as conf do squid e ainda nao esta funcionando como eu quero, preciso também autenticar o squid no ldap. Poderiam dar uma ajuda?
ai segue o squid.conf
========================================================================
http_port 3128
hierarchy_soptlist cgi-bin?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_enconding allow apache
cache_dir ufs /home/cache 5000 16 256
cache_access_log /var/log/squid/access.log
access.log /var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
pid_filename /var/log/squid/squid.pid
cache_effective_user proxy
coredump_dir /home/cache
visible_hostname TNT Technology Ltda.
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
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 SLL_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 pots
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-httpd
acl Safe_ports port 591 # filemaker
acl CONNECT method CONNECT
#acl liberados url_regex -i "/etc/squid/liberados/liberados.txt"
#acl bloqueados url_regex -i "/etc/squid/bloqueados/blacklists/*"
#acl to_intranet dst 10.1.0.0/24
#acl from_intranet src 10.1.0.0/24
#http_access deny manager
#http_access deny !Safe_ports
#http_access deny CONNECT !SSL_ports
#http_access deny bloqueados !liberados
#http_access allow manager localhost
#http_access allow all to_intranet from intranet
#http_access allow from_intranet liberados
http_access deny all
#http_reply_access allow all
icp_access allow all
=======================================================================
o que precisaria ser descomentado?
agradeço pela ajuda!