Enviado em 03/04/2013 - 13:43h
Saudações amigos, estou com probleminha em meu SQUID com autenticado, preciso liberar um SITE sem que ele perça autenticação!
################## PARAMENTROS DE AUTENTICACAO DO SQUID ###############
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic credentialsttl 1 hour
auth_param basic realm Para saber maiores detalhes de acesso a internet ligue para (81) 8837-1097
auth_param basic casesensitive off
######### LINGUAGEM DAS PAGINAS DE ERRO PARA PORTUGUES ##############
error_directory /usr/share/squid/errors/Portuguese/
######## GERA O RELATÃIO PARA VISUALIZAR OS SITES ACESSADOS ##########
cache_access_log /var/log/squid/access.log
################## REGRAS PADRAO DO SQUID ############################
http_port 3128
visible_hostname marcelo.leandro@mlsinformatica.com
cache_dir ufs /var/cache/squid 3000 16 256
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl SSL_ports port 443 563 873
acl Safe_ports port 80 21 443 70 80 81 70 210 888 1025-65535 280 448 591 777 631 873 900 1049
acl CONNECT method CONNECT
acl sem_proxy dstdomain "/etc/squid/sem_proxy"
http_access allow sem_proxy
acl autenticados proxy_auth REQUIRED
############### POLITICA DE RESTRICOES DOS USUARIOS ##########################
acl GISANET url_regex -i http://www.gisanet.com.br/
http_access allow GISANET
acl SISTEMA_GISANET url_regex -i http://sistema.gisanet.com.br/
http_access allow SISTEMA_GISANET
acl acesso_total proxy_auth "/etc/squid/total/acesso_total"
http_access allow acesso_total
acl bloq_med url_regex -i "/etc/squid/med/bloq_med"
http_access deny bloq_med
acl user_med proxy_auth "/etc/squid/med/user_med"
http_access allow user_med !bloq_med
acl bloq_adm url_regex -i "/etc/squid/adm/bloq_adm"
http_access deny bloq_adm
acl user_adm proxy_auth "/etc/squid/adm/user_adm"
http_access allow user_adm !bloq_adm
acl bloq_fat url_regex -i "/etc/squid/fat/bloq_fat"
http_access deny bloq_fat
acl user_fat proxy_auth "/etc/squid/fat/user_fat"
http_access allow user_fat !bloq_fat
acl lib_rec url_regex -i "/etc/squid/rec/lib_rec"
http_access allow lib_rec
acl user_rec proxy_auth "/etc/squid/rec/user_rec"
http_access deny user_rec !lib_rec
acl permitidos src 192.168.2.0/24
acl all src 192.168.2.0/24
http_access allow autenticados
http_access deny all