orakulo
(usa openSUSE)
Enviado em 14/03/2014 - 09:04h
http_port 3128 intercept
visible_hostname internet
error_directory /usr/share/squid/errors/pt-br
cache_mem 2800 MB
maximum_object_size_in_memory 640 MB
maximum_object_size 1024 MB
minimum_object_size 20 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid 2048 16 256
cache_access_log /var/log/squid/access.log
refresh_pattern ^ftp: 15 20 2280
refresh_pattern ^gopher: 15 0 2280
refresh_pattern . 15 20 2280
#acl conexoes maxconn 30
#acl BLOQUEADO src 192.168.1.39
#acl BLOQUEADO2 src 192.168.1.245#
#acl LIBERADO2 src 192.168.1.98#
#acl noturno1 time 20:00-23:59
#acl noturno2 time 00:00-06:00
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 SSL_ports port 443 563 993 465 25 22 3001 4443
#acl Safe_ports port 21 110 80 70 210 280 488 59 777 901 3000 443 563 993 465 25 22 3001 1433 1025-65525
#acl purge method PURGE
acl CONNECT method CONNECT
#acl bandalimitada src "/etc/squid/restricaodebanda"
#acl bandalimitada_sites url_regex -i "/etc/squid/bandalimitada_sites"
#acl desbloqueados url_regex -i "/etc/squid/desbloqueados"
#acl ips_nao_restritos src "/etc/squid/ips_nao_restritos"
#acl LIBERADO src 192.168.1.119
#acl almoco time 11:30-13:00
#acl liberados_youtube src "/etc/squid/liberados_youtube"
#acl site_youtube url_regex -i "/etc/squid/site_youtube"
#acl extencoes url_regex -i "/etc/squid/extencoes"
#acl bloqueados url_regex -i "/etc/squid/bloqueados"
#acl ips_restritos src "/etc/squid/ips_restritos"
#acl ips_restritosprod src "/etc/squid/ips_restritosprod"
#acl sites_nao_restritosprod url_regex -i "/etc/squid/sites_nao_restritosprod"
#acl sites_nao_restritos url_regex -i "/etc/squid/sites_nao_restritos"
#acl bandalimitada_sites_negados url_regex -i "/etc/squid/bandalimitada_sites_negados"
#acl dominios_proibidos dstdomain "/etc/squid/dominios_proibidos"
acl redelocal src 192.168.1.0/24
access_log /var/log/squid/access.log
#delay_pools 2
#delay_class 1 2
#delay_class 2 2
#delay_parameters 1 25000/25000 25000/25000
#delay_parameters 2 15000/15000 15000/15000
#delay_access 1 allow bandalimitada
#delay_access 2 allow bandalimitada_sites !bandalimitada_sites_negados
#http_access deny noturno1
#http_access deny noturno2
#http_access deny conexoes redelocal
#http_access deny ips_restritos !sites_nao_restritos
#http_access deny ips_restritosprod !sites_nao_restritosprod
#http_access allow LIBERADO
#http_access deny extencoes !sites_nao_restritos
#http_access allow ips_nao_restritos
#http_access allow liberados_youtube site_youtube
#http_access allow desbloqueados
#http_access allow bloqueados almoco
#http_access deny dominios_proibidos
#http_access deny bloqueados
#http_access allow localhost
http_access allow redelocal
dns_nameservers 200.204.0.10
#http_access deny BLOQUEADO
#http_access deny BLOQUEADO2
#http_access allow LIBERADO2#
http_access deny all
cache_log /var/log/squid/cache.log
cache_mgr w
cache_replacement_policy lru
cache_store_log /var/log/squid/store.log
client_lifetime 1 days
connect_timeout 2 minutes
#emulate_httpd_log off
ftp_passive on
memory_replacement_policy lru
#emulate_httpd_log off