
lucascatani
(usa Ubuntu)
Enviado em 25/05/2012 - 22:04h
Boa noite pessoal. Estou tendo um pouco de dificuldades em liberar o hotmail e o msn no squid. Alguma dica?
Segue meu squid.conf:
http_port 3128
visible_hostname l9web.com.br
cache_mem 8 MB
maximum_object_size 1024 KB
cache_dir ufs /var/cache/squid3 1000 16 256
cache_access_log /var/log/squid3/access.log
cache_log /var/log/squid3/cache.log
cache_store_log /var/log/squid3/store.log
emulate_httpd_log on
error_directory /usr/share/squid3/errors/pt-br
#>>>>>>>>>>>>>>>>>> ACL GERAIS
acl manager proto cache_object
acl localhost src 127.0.0.1/32
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 8080 #http
acl Safe_ports port 21 #ftp
acl Safe_ports port 443 563 #https, news
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 CONNECT method CONNECT
# >>>>>>>>>>>>>>>>> MINHAS ACL
acl network src 192.168.0.0/24
acl proibir_sites dstdomain "/etc/squid3/sites"
acl proibir_palavras url_regex -i "/etc/squid3/palavrasproibidas"
acl internetmaislenta src 192.168.0.8-192.168.0.10
delay_pools 1
delay_class 1 2
delay_parameters 1 70000/70000 7000/7000
delay_access 1 allow internetmaislenta
# >>>>>>>>>>>>>>>>> DIRETIVAS http_access
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
# >>>>>>>>>>>>>>>>> REGRAS DAS MINHAS ACL's
http_access deny proibir_sites
http_access deny proibir_palavras
http_access allow network
http_access deny all