[3] Comentário enviado por
dcsorprezo em 19/04/2012:
ARQUIVO - SQUID3/CERBEROS_CONF
[11]+ Stopped vim /etc/squid3
fw-plastmoveis:~# vim /etc/squid3/cerberos_conf
## Arquivo criado pelo sistema Cerberos Proxy Administrator - Versao 1.0
## Horario da Criacao: 07:09:12
## Data da Criacao: 04-07-2007
## Usuario Criador: cerberos
#####################################################################################
##TAGS NETWORK
##
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
##
#####################################################################################
## CONFIGURACOES DE CACHE
cache_mem 380 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 8 MB
minimum_object_size 10 KB
maximum_object_size_in_memory 60 KB
cache_dir ufs /var/cache/squid 2500 36 128
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
#####################################################################################
## Usuario e Grupo Utilizado pelo Proxy
cache_effective_user squid
cache_effective_group squid
#####################################################################################
##Desligar a emulacao de log de servidor Web
emulate_httpd_log off
#####################################################################################
##Tags de Autenticacao
auth_param basic program /usr/local/squid/libexec/mysql_auth
auth_param basic children 5
auth_param basic realm Senha de Acesso a Internet - Cerberos
auth_param basic credentialsttl 5 hoursn
##Tags de Autenticacao
auth_param basic program /usr/local/squid/libexec/mysql_auth
auth_param basic children 5
auth_param basic realm Senha de Acesso a Internet - Cerberos
auth_param basic credentialsttl 5 hoursn
#####################################################################################
##Tags de Tuning do Squid - Default
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
#####################################################################################
##Tags ACL ( Access Control List )
##Defaults do Squid
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 to_localhost dst 127.0.0.0/8
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 Safe_ports port 110 # email
acl Safe_ports port 25 # smtp
acl CONNECT method CONNECT
#####################################################################################
## ACLs de Grupos
## ACLs de Listas
#####################################################################################
## Tags da Secao http_access (Liberacoes / Bloqueios de acesso)
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
#####################################################################################
## Tags Finais
icp_access allow all
error_directory /usr/local/squid/share/errors/Portuguese
visible_hostname Cerberos