Qual o seu link?
É adsl?

-----Mensagem original-----
De: [email protected] [mailto:[EMAIL PROTECTED] Em nome
de ntmarco
Enviada em: sexta-feira, 13 de outubro de 2006 13:38
Para: [email protected]
Assunto: [squid-br] Lentidão no Squid


 Grupo
 
 Estou a varios dias tentando colocar o squid no ar não cosigo, ou 
seja todas as vezes que habilito ele e libero em meu firewall a 
internet fica super lenta,
 Alguem poderia mim ajudar?
 segue a configuração do meu squid.conf
 Grato


# porta que o squid usa, 3128 é padrão

http_port 3128

# quantidade da cache usada na memória ram
#Default cache:
cache_mem 64 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4700 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 64 KB

#o diretório onde o cache será armazenado em disco
cache_dir ufs /home/squid 5000 30  256 
visible_hostname 192.168.1.70

########
# LOGS #
########

#cache_access_log /var/log/squid/access.log
#cache_log /var/log/squid/cache.log
#cache_effective_user squid


cache_access_log /home/squid/log/access.log
cache_log /home/squid/log/cache.log
cache_effective_user squid



#Suggested default:
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320


#Recommended minimum configuration:
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 to_localhost dst 127.0.0.0/8
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 CONNECT method CONNECT
acl our_networks src 192.168.1.0/255.255.255.0
acl liberados src 192.168.1.0/255.255.255.0
acl proibir_sites dstdomain "/etc/squid/sites"
#acl proibir_palavras url_regex -i "/etc/squid/palavras"

#Default:
httpd_accel_port 80
httpd_accel_host virtual

#Default:
httpd_accel_uses_host_header on

#==================================================================
# Deteccao de Proxy Transparente
#==================================================================
header_access Via deny all
header_access X-Forwarded-For deny all
header_access Proxy-Connection deny all
header_access Accept-Encoding deny all

httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
ie_refresh on

#httpd_accel_single_host off
acl swf url_regex -i.*\.swf$
acl mp3 url_regex -i.*\.mp3$
acl mp3x urlpath_regex .mp3$
acl mpeg url_regex -i.*\.mpeg$
acl exe url_regex -i.*\.exe$
acl com url_regex -i.*\.com$
#acl proibir_sites dstdomain "/etc/squid/sites"
acl sites url_regex "/etc/squid/sites"
acl msn url_regex -i /gateway/gateway.dll 
#acl msn url_regex -i "/etc/squid/msn"
#acl download urlpath_regex .exe$ .zip$ .mp3$
#http_access deny download




http_access deny sites
http_access deny mp3
http_access deny mp3x
http_access deny mpeg
http_access deny exe
http_access deny com
http_access deny swf
http_access deny msn 

acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl extensoes url_regex -i .exe$ .mp3
$ .vqf$ .tar.gz$ .gz$ .rpm$ .zip$ .rar$ .avi$ .mpeg$ .mpe$ .mpg$ .ram
$ .rm$ .iso$ .raw$ .wav$ .mov$ .pdf$ .rpo$
                       
acl interno url_regex -i 192.168.1.0
  
delay_pools 2
  
delay_class 1 2
delay_parameters 1 18000/22000 5000/8000
delay_access 1 allow extensoes
delay_class 2 2
delay_parameters 2 15000/20000 3000/7000
delay_access 2 allow interno

http_access allow localhost
http_access allow interno 
#http_access allow our_networks
http_access allow manager localhost
http_access allow liberados 

# Deny requests to unknown ports
http_access deny manager
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
http_access allow all
#no_cache deny QUERY


####################
## FIM DO SQUID.CONF #######
####################### 





Enviar mensagem: [email protected] 
Assinar:  [EMAIL PROTECTED] 
Cancelar assinatura:  [EMAIL PROTECTED] 
Proprietário da lista:  [EMAIL PROTECTED]


 
Links do Yahoo! Grupos

 



Enviar mensagem: [email protected] 
Assinar:  [EMAIL PROTECTED] 
Cancelar assinatura:  [EMAIL PROTECTED] 
Proprietário da lista:  [EMAIL PROTECTED]


 
Links do Yahoo! Grupos

<*> Para visitar o site do seu grupo na web, acesse:
    http://br.groups.yahoo.com/group/squid-br/

<*> Para sair deste grupo, envie um e-mail para:
    [EMAIL PROTECTED]

<*> O uso que você faz do Yahoo! Grupos está sujeito aos:
    http://br.yahoo.com/info/utos.html

 

Responder a