BFW 2.26.0 QOS Function BUG [INACTIVE]

BrazilFW 2.xhelp discussions in English.

BFW 2.26.0 QOS Function BUG

Mensagempor sabitsoftware » Qua Nov 30, 2005 9:35 am

Hi Claudio,

I think that there is a bug in the new BFW v 2.26.0 - QOS subsystem.

To be more precise :
- in the rc.qos.coyote file;
- inside define_class_base_qos() function;
- line
"$TC class add dev $IF_LOCAL parent ${2} classid 1:$slow_cls_id htb prio 1 rate ${DOWN_SLOW_PRI}kbit ceil ${3}kbit burst ${QOS_SDOWN_BURST}k
" is wrong

The above line should look like this one:

"$TC class add dev $IF_LOCAL parent ${1} classid 1:$slow_cls_id htb prio 1 rate ${DOWN_SLOW_PRI}kbit ceil ${3}kbit burst ${QOS_SDOWN_BURST}k"

Otherwise the SLOW_PRI class it is attached to the root and not to 1:10 class.

This bug appears only on "define_class_qos" configurations
sabitsoftware
 

Mensagempor Claudio » Qua Nov 30, 2005 4:49 pm

Noted.

Thank You.
Não dou suporte via mensagem privada e e-mail.
Por favor, não insista.
Avatar do usuário
Claudio
BFW Founder
BFW Beneméritos
 
Mensagens: 7553
Registrado em: Qui Ago 25, 2005 9:10 am
Localização: Vitória - ES - Brasil
BrazilFW Box:

Mensagempor babayaga » Qua Nov 30, 2005 7:03 pm

So we should manualy change it? Or wait for a update?
babayaga
 

Mensagempor Claudio » Qui Dez 01, 2005 12:51 pm

You should change, of course.
Não dou suporte via mensagem privada e e-mail.
Por favor, não insista.
Avatar do usuário
Claudio
BFW Founder
BFW Beneméritos
 
Mensagens: 7553
Registrado em: Qui Ago 25, 2005 9:10 am
Localização: Vitória - ES - Brasil
BrazilFW Box:

must change only 1 line ?

Mensagempor filo » Ter Dez 13, 2005 5:47 am

Hello,
I'm not familiar with Linux and QoS enough, so that maybe I'm wrong, but ...
If for DOWNSTREAM section line 50
$TC class add dev $IF_LOCAL parent ${2} classid 1:$slow_cls_id htb prio 1 rate ${DOWN_SLOW_PRI}kbit ceil ${3}kbit burst ${QOS_SDOWN_BURST}k
must be changed to
$TC class add dev $IF_LOCAL parent ${1} classid 1:$slow_cls_id htb prio 1 rate ${DOWN_SLOW_PRI}kbit ceil ${3}kbit burst ${QOS_SDOWN_BURST}k

then for UPSTREAM section this line 68 is OK ?
$TC class add dev $IF_INET parent ${2} classid 1:$slow_cls_id htb prio 1 rate ${UP_SLOW_PRI}kbit ceil ${5}kbit burst ${QOS_SUP_BURST}k
or must be changed to
$TC class add dev $IF_INET parent ${1} classid 1:$slow_cls_id htb prio 1 rate ${UP_SLOW_PRI}kbit ceil ${5}kbit burst ${QOS_SUP_BURST}k ?

Thanks for answer.
Filo
filo
 

Re: must change only 1 line ?

Mensagempor sabitsoftware » Ter Dez 13, 2005 6:07 am

filo escreveu:Hello,
I'm not familiar with Linux and QoS enough, so that maybe I'm wrong, but ...
If for DOWNSTREAM section line 50
$TC class add dev $IF_LOCAL parent ${2} classid 1:$slow_cls_id htb prio 1 rate ${DOWN_SLOW_PRI}kbit ceil ${3}kbit burst ${QOS_SDOWN_BURST}k
must be changed to
$TC class add dev $IF_LOCAL parent ${1} classid 1:$slow_cls_id htb prio 1 rate ${DOWN_SLOW_PRI}kbit ceil ${3}kbit burst ${QOS_SDOWN_BURST}k

then for UPSTREAM section this line 68 is OK ?
$TC class add dev $IF_INET parent ${2} classid 1:$slow_cls_id htb prio 1 rate ${UP_SLOW_PRI}kbit ceil ${5}kbit burst ${QOS_SUP_BURST}k
or must be changed to
$TC class add dev $IF_INET parent ${1} classid 1:$slow_cls_id htb prio 1 rate ${UP_SLOW_PRI}kbit ceil ${5}kbit burst ${QOS_SUP_BURST}k ?

Thanks for answer.
Filo



Hi Filo

you are right
also the upstream section must be changed
sabitsoftware
 

Re: must change only 1 line ?

Mensagempor filo » Ter Dez 13, 2005 6:25 am

sabitsoftware escreveu:Hi Filo
you are right
also the upstream section must be changed

Thanks for ultraquick reaction, bye ;)
filo
 

Mensagempor Claudio » Ter Dez 13, 2005 9:11 am

I'm afraid i can miss some little fix.

Can you send me the final version?
Não dou suporte via mensagem privada e e-mail.
Por favor, não insista.
Avatar do usuário
Claudio
BFW Founder
BFW Beneméritos
 
Mensagens: 7553
Registrado em: Qui Ago 25, 2005 9:10 am
Localização: Vitória - ES - Brasil
BrazilFW Box:

Mensagempor Jenya » Qui Nov 09, 2006 6:07 am

Hi Claudio,
are these little fixies included in BrazilFW 2.29.4?
Thanx for answer
Jenya
 

Mensagempor Claudio » Qui Nov 09, 2006 8:32 am

Yes. Those thing might be fixed. Can you check that?
Não dou suporte via mensagem privada e e-mail.
Por favor, não insista.
Avatar do usuário
Claudio
BFW Founder
BFW Beneméritos
 
Mensagens: 7553
Registrado em: Qui Ago 25, 2005 9:10 am
Localização: Vitória - ES - Brasil
BrazilFW Box:

Mensagempor Jenya » Qui Nov 09, 2006 11:22 am

I found this:
Above considered as right is:
$TC class add dev $IF_LOCAL parent ${1} classid 1:$slow_cls_id htb prio 1 rate ${DOWN_SLOW_PRI}kbit ceil ${3}kbit burst ${QOS_SDOWN_BURST}k

but in the BrazilFW 2.29.4 script is:
$TC class add dev $IF_LOCAL parent ${1} classid 1:$slow_cls_id htb prio 2 rate ${DOWN_SLOW_PRI}kbit ceil ${3}kbit burst ${QOS_SDOWN_BURST}k

I don`t understand much Qos scripts but hope it`s right.
Jenya
 

Mensagempor Claudio » Sex Nov 10, 2006 9:33 am

Yes, it should be 2.

That other bug which i have fixed.
Não dou suporte via mensagem privada e e-mail.
Por favor, não insista.
Avatar do usuário
Claudio
BFW Founder
BFW Beneméritos
 
Mensagens: 7553
Registrado em: Qui Ago 25, 2005 9:10 am
Localização: Vitória - ES - Brasil
BrazilFW Box:


Voltar para BrazilFW 2.x - English Forum

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 3 visitantes