juliano.vida
(usa Slackware)
Enviado em 01/10/2009 - 11:57h
Tenho um squid configurado da seguinte maneira:
http_port 3128
visible_hostname Proxy_Quality
cache_mem 64 MB
maximum_object_size_in_memory 2 MB
maximum_object_size 10 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid/cache1 3000 16 256
cache_dir ufs /var/spool/squid/cache2 3000 16 256
cache_dir ufs /var/spool/squid/cache3 3000 16 256
cache_dir ufs /var/spool/squid/cache4 3000 16 256
cache_dir ufs /var/spool/squid/cache5 3000 16 256
cache_dir ufs /var/spool/squid/cache6 3000 16 256
cache_access_log /var/log/squid/access.log
error_directory /usr/share/squid/errors/Portuguese
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
# Configuracao para Bloquear sites dentro de uma blacklist
acl bloqueados url_regex "/etc/squid/bloqueados/block"
http_access deny bloqueados
acl redelocal src 192.168.0.0/24
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 901
acl purge method PURGE
acl all src 0.0.0.0/0.0.0.0
acl CONNECT method CONNECT
http_access allow localhost
http_access allow manager localhost
http_access allow purge localhost
http_access allow redelocal
http_access deny manager
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
Mesmo configurado desta forma sem nenhum bloqueio nenhum windowsXP/Vista daqui do escritório consegue fazer update!!!
Gostaria que alguem me ajudasse por favor é URGENTE !!!
Vida longa ao linux....