alexkidrd
(usa Debian)
Enviado em 17/03/2010 - 18:37h
Fala moçada blz??
Meu Squid tava blz!! quando derrepente quem tenta acessar o hotmail.com nao consegue ... fica uma tela branca com um "erro na linha 18"
alguem pode me dizer oq posso fazer para liberar essa maravilha da microsoft...
segue meu squid:
visible_hostname Embratel
http_port 3128 transparent
#CONFIG DE CACHE
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 128 MB
cache_swap_low 80
cache_swap_high 85
maximum_object_size 64 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 128 KB
ipcache_size 3072
ipcache_low 90
ipcache_high 93
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
cache_dir aufs /var/log/squid/ 2048 16 64
#cache_dir aufs /var/log/squid1/ 2048 16 64
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
memory_pools off
forwarded_for off
coredump_dir none
detect_broken_pconn on
#TAG's referentes ao processo de autenticação.
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\?) 1400 20% 1440
refresh_pattern . 0 20% 4320
#ACL
acl all src 0.0.0.0/0.0.0.0
acl rede src 127.0.0.1/255.255.255.255
acl manager proto cache_object
acl localhost src 192.168.0.0/255.255.255.255
acl to_localhost dst 127.0.0.0/24
acl BADPORTS port 7 9 11 19 22 23 25 53 110 119 513 514
acl SSL_ports port 443 563 444
acl Safe_ports port 443 # Gmail
acl Safe_ports port 80 # http
acl Safe_ports port # https 8080
acl Safe_ports port 21 # ftp
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 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl Safe_ports port 3001 # Receptor Imprensa Nacional
acl Safe_ports port 8004 # Imprensa
acl Safe_ports port 8999
acl Safe_ports port 445 #gmail outlook
acl Safe_ports port 995 #gmail outlook
acl Safe_ports port 1494 # Sigov
acl Safe_ports port 403 #hotmail
acl Safe_ports port 1520 #hotmail
acl Safe_ports port 1521 # Siafi Gerencial
acl Safe_ports port 3460 # Serpro EDM
acl Safe_ports port 102 # X400
acl Safe_ports port 16000 # Siscon
acl Safe_ports port 23000 # SerproWeb
acl Safe_ports port 5017 #cat
acl Safe_ports port 2631 # Sefip
acl Safe_ports port 12010 # Cnpq Curriculo Lates
acl Safe_ports port 100 #receita
acl Safe_ports port 2021 # Programa
acl Safe_ports port 21 # Programa
acl CONNECT method CONNECT
http_access allow localhost
http_access allow rede
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny BADPORTS
http_access allow CONNECT !SSL_ports
header_access Accept-Encoding deny all
################### ACESSOS ############################
acl erica src 192.168.0.210
http_access allow erica
acl eu src 192.168.0.13-192.168.0.14
http_access allow eu
acl vivaldinho src 192.168.0.70
http_access allow vivaldinho
acl sf01 src 192.168.0.47
http_access allow sf01
acl casa src 192.168.0.3-192.168.0.5
http_access allow casa
acl vivaldo src 192.168.0.253-192.168.0.254
http_access allow vivaldo
acl vivaldo2 src 192.168.0.28-192.168.0.29
http_access allow vivaldo2
acl sescon src 192.168.0.208-192.168.0.209
http_access allow sescon
acl auxi src 192.168.0.110
http_access allow auxi
acl liberados dstdomain "/etc/squid/liberados.txt"
http_access allow liberados
acl contama dstdomain webmail.sefaz.rr.gov.br
www.jucerr.rr.gov.br www.finep.gov.br www.anvisa.gov.br www.bndes.gov.br www.hotmail.com www.hotmail.com.br
www.cartaobndes.gov.br www.gmail.com www.submarino.com.br www.receita.fazenda.gov.br www.mbc.org.br www.contama.com.br www.google.com.br www.premiompe.sebrae.com.br www.sebrae.com.br www.sefaz.rr.gov.br linux-teste.sefaz.rr.gov.br
www10.directtalk.com.br canaldaagencia.ecad.org.br boticario.com.br
www.vagalume.uol.com.br www.hondaihs.com.br www3.hondaihs.com.br www.caixa.gov.br www.me.com.br www.novaoi.com.br http://dnl-eu5.kaspersky-labs.com varig.directtalk.com.br
http_access allow contama
# Configuração Hotmail Vs Squid #
acl hotmail_domains dstdomain .hotmail.msn.com
acl hotmail_domains2 dst 64.0.0.0/255.0.0.0
acl hotmail_domains3 dst 65.0.0.0/255.0.0.0
acl hotmail_domains4 dst 207.0.0.0/255.0.0.0
header_access Accept-Encoding deny hotmail_domains
header_access Accept-Encoding deny hotmail_domains2
header_access Accept-Encoding deny hotmail_domains3
header_access Accept-Encoding deny hotmail_domains4
######################## ANTIVIRUS ###########################
acl extensoes urlpath_regex -i "/etc/squid/list/extensoes.txt"
http_access deny extensoes
acl malware_block_list url_regex -i "/etc/squid/malware_block_list.txt"
http_access deny malware_block_list
############### BLOQUEIO GERAL - BLOQUEADOS ##################
acl bloquear1 url_regex power rkut okut ork orku orkut flogao caseiras bate-papo
[*****] profanas profana webmessenger aim poker hentai
acl bloquear2 url_regex rapidshare ebuddy youtube
www.youtube.com www.nafesta.com.br www.fabricadequadrinhos.com.br www.scoop.com.br www.batepapo.bol.com.br
acl bloquear3 url_regex -i "/etc/squid/list/bloqueio"
acl bloquear4 dstdomain
www.powerscrap.com www.power.com www8.messengerfx.com www.flogao.com.br www.invasao.com.br www.sandrinha.com.br sandrinha.com.br
www.viacards.com.br www.youtube.com www.rapidshare.com www.megaupload.com www.4shared.com www.casadoshorrores.tk www.playboy.abril.com.br www.marcelinha.com www.ogrish.com www.gazetaesportiva.net www.scoop.com.br www.gazzag.com www.nafesta.com.br ana.nafoto.net
www.truzer.com www3.thecrims.com filesharingdownloads.com tudogostoso.uol.com.br
www.buscamp3.com.br ad.doubleclick.net irc.brasirc.com powerscrap.com.br
acl somsn dstdomain "/etc/squid/list/somsn"
http_access deny bloquear1
http_access deny bloquear2
http_access deny bloquear3
http_access deny bloquear4
http_access deny somsn
################### ACESSO FISCO DMS #########################
acl HOST_MSN src "/etc/squid/list/ip.txt"
acl Negar_MSN dstdomain "/etc/squid/msn.txt"
acl Negar_MSN2 url_regex "/etc/squid/msn2.txt"
acl msn url_regex -i /gateway/gateway.dll
http_access deny Negar_MSN
http_access deny Negar_MSN2
http_access deny msn
#####################################
acl fisco url_regex -i "/etc/squid/list/fisco"
acl dms src 192.168.0.231-192.168.0.240
http_access deny !fisco dms
http_access allow HOST_MSN
#acl user url_regex "/etc/squid/iplpa.txt"
#acl hot dstdomain "/etc/squid/slpa.txt"
#http_access allow !user hot
################## ACESSO DA REDE LOCAL #######################
acl redelocal src 192.168.0.100-192.168.0.254
http_access allow redelocal
acl servers src 192.168.0.1-192.168.0.7
http_access allow servers
header_access Accept-Encoding deny all
############## Bloqueio acesso externo ###############
http_access deny all
############# LINGUAGEM DO ERRO ##################
error_directory /usr/share/squid/errors/Portuguese
cache_mgr ardias.ti@hotmail.com