ruuano
(usa OpenSuSE)
Enviado em 24/10/2009 - 22:56h
bom, agora consegui autenticar os usuarios porem nao esta bloqueando nenhuma pagina....
ai vai meu .conf
##########################################################################
http_port 3128
visible_hostname TCC
cache_mem 64 MB
ipcache_size 2048
ipcache_low 90
ipcache_high 98
fqdncache_size 1024
cache_replacement_policy lru
memory_replacement_policy lru
cache_dir ufs /var/cache/squid 50000 16 256
refresh_pattern ^ftp: 15 2% 2280
refresh_pattern ^gother: 15 0% 2280
refresh_pattern . 15 20% 2280
#cache_effective_user squid
cache_access_log /var/log/squid/access.log
auth_param basic children 15
auth_param basic realm ENTRE COM SEU USUARIO E SENHA
auth_param basic credentialsttl 2 hours
auth_param basic program /usr/sbin/ncsa_auth /etc/squid/passwd
auth_param basic casesensitive off
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
acl redeall src 0.0.0.0/0.0.0.0
acl permitido src 192.168.0.10
acl localhost src 127.0.0.1/255.255.255.255
acl redelocal src 192.168.1.0/24
acl password proxy_auth REQUIRED
acl restrito proxy_auth "/etc/squid/restrito"
acl total proxy_auth "/etc/squid/acetotal"
acl proibidos url_regex "/etc/squid/proibidos"
acl execoes url_regex "/etc/squid/execoes"
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 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
http_access allow total
http_access deny password proibidos !execoes
http_access allow password execoes
http_access deny password restrito !total
http_access deny password proibidos
http_access allow total
http_access allow Safe_ports
http_access deny redelocal !execoes !permitido
http_access deny all