Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # PORTA DE ESCUTA
- http_port 192.168.0.1:3128
- # CONFIGURAÇÃO PADRÃO
- error_directory /root/squid/msgerros_pref
- cache_effective_user squid
- cache_effective_group squid
- visible_hostname gateway.empresa
- dns_nameservers 127.0.0.1
- shutdown_lifetime 20 seconds
- coredump_dir none
- logfile_rotate 2
- icp_port 0
- cache_mgr email@empresa
- # MEMÓRIA E CACHE EM RAM
- cache_mem 2048 MB
- cache_swap_high 95
- cache_swap_low 90
- maximum_object_size 32 MB
- maximum_object_size_in_memory 256 KB
- minimum_object_size 1 KB
- # REGRAS DE RECICLAGEM DOS OBJETOS
- memory_replacement_policy heap GDSF
- cache_replacement_policy heap LFUDA
- # AUTENTICAÇÃO
- auth_param basic program /usr/local/libexec/squid/basic_ncsa_auth /root/squid/passwd_squid
- auth_param basic children 10 startup=5 idle=1
- auth_param basic realm Para continuar, digite seu LOGIN e SENHA de acesso a Internet. Todos os sites acessados serao monitorados.
- auth_param basic credentialsttl 5 minutes
- # ARQUIVOS ADICIONAIS
- mime_table /usr/local/etc/squid/mime.conf
- include "/root/squid/tunning.conf"
- # INCLUDE DAS ACLs PRINCIPAIS
- include "/root/squid/safeports.conf"
- include "/root/squid/acls.conf"
- # LOGs
- access_log daemon:/var/log/squid/access.log on-error=drop !SEMLOG_SITES
- cache_log /var/log/squid/cache.log
- cache_store_log none
- debug_options ALL,1
- #debug_options 28,9
- # INCLUDE DO CONTROLE HTTP_ACCESS
- include "/root/squid/controle.conf"
- # FIM
Advertisement
Add Comment
Please, Sign In to add comment