http_port 10.1.0.1:3128 hierarchy_stoplist cgi-bin ? #dns_nameservers 200.221.11.100 dns_nameservers 127.0.0.1, 200.198.64.83, 200.162.196.29, 200.221.11.100 acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY access_log /var/log/squid/access.log squid hosts_file /etc/hosts auth_param basic program /usr/lib/squid/ldap_auth -b "ou=users,dc=kraki,dc=com,dc=br" -h 127.0.0.1 -v 3 auth_param basic children 5 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 autentica proxy_auth REQUIRED acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 563 # https, snews acl SSL_ports port 873 # rsync acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 563 407 # https, snews 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 631 # cups acl Safe_ports port 873 # rsync acl Safe_ports port 901 # SWAT acl purge method PURGE acl CONNECT method CONNECT auth_param basic realm KRAKI-FL # bloqueio de sites (by Henrique bueno) acl usuarios_liberados proxy_auth "/etc/squid/usuarios_liberados" acl ext_bloqueadas url_regex "/etc/squid/ext_bloqueadas" acl pode_download proxy_auth "/etc/squid/usuarios_download" acl sites_liberados url_regex "/etc/squid/sites_liberados" acl palavras_proibidas url_regex "/etc/squid/palavras_proibidas" acl horario_almoco time MTWHF 12:00-13:30 http_access allow sites_liberados http_access deny ext_bloqueadas !pode_download http_access allow usuarios_liberados http_access deny palavras_proibidas !horario_almoco 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 http_access allow localhost http_access allow autentica http_access deny all http_reply_access allow all icp_access allow all coredump_dir /var/spool/squid logfile_rotate 10