viniciuspedra
(usa Debian)
Enviado em 14/07/2011 - 15:19h
ótimo!!!!
fiz um assim com diversas velocidades para testes...
########################################
######## CONTROLE DE VELOCIDADE ########
########################################
acl 512k arp "/etc/squid/velocidade/512k.txt"
acl 800k arp "/etc/squid/velocidade/800k.txt"
acl 1024k arp "/etc/squid/velocidade/1024k.txt"
acl 1536k arp "/etc/squid/velocidade/1536k.txt"
acl 2048k arp "/etc/squid/velocidade/2048k.txt"
acl liberado arp "/etc/squid/velocidade/liberado.txt"
delay_pools 6
delay_class 1 6
delay_parameters 1 -1/-1 51200/450000
delay_access 1 allow 512k
delay_class 2 6
delay_parameters 2 -1/-1 80000/450000
delay_access 2 allow 800k
delay_class 3 6
delay_parameters 3 -1/-1 100000/450000
delay_access 3 allow 1024k
delay_class 4 6
delay_parameters 4 -1/-1 150000/450000
delay_access 4 allow 1536k
delay_class 5 6
delay_parameters 5 -1/-1 204800/450000
delay_access 5 allow 2048k
delay_class 6 6
delay_parameters 6 -1/-1 450000/450000
delay_access 6 allow liberado
o que acham?