Skip to contentSkip to conversation

HFSC usage

LARTC Remus 4 participants 8 messages Feb 12, 2004 – Feb 13, 2004

lore
Share & tools
lore

Remus

author
#0 lore raw

Hi folks,

Is anybody using HFSC http://trash.net/~kaber/hfsc/?

I would like to get script examples if possible, in more less clear format.

There is a new IMQ port for 2.4 and 2.6 kernels http://pupa.da.ru/imq/ (just module, no needs to patch kernel or iptables) and it seems to be much easy to use hfsc than htb.

Thanks in advance

Remus

#1 lore raw

Hi,

In README seems that your patchs doesn't with egress,

Please, tell me if you want to mean that patch works or not with:

iptables -t mangle -A POSTROUTING ..... -j IMQ ???

thank you.
Andres

-----Mensaje original-----
De: [email protected] [mailto:[email protected]]En nombre de Remus
Enviado el: Jueves, 12 de Febrero de 2004 10:26 a.m.
Para: [email protected]
Asunto: [LARTC] HFSC usage

Hi folks,

Is anybody using HFSC http://trash.net/~kaber/hfsc/?

I would like to get script examples if possible, in more less clear format.

There is a new IMQ port for 2.4 and 2.6 kernels http://pupa.da.ru/imq/ (just module, no needs to patch kernel or iptables)
and it seems to be much easy to use hfsc than htb.

Thanks in advance

Remus

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Remus
Quoted 3 lines

In README seems that your patchs doesn't with egress,

Look at the source, the egress hooks are commented. You can remove them and use, at your own risk because it's the most likely factor to crash IMQ deployments.

Quoted 4 lines

Please, tell me if you want to mean that patch works or not with:

iptables -t mangle -A POSTROUTING ..... -j IMQ ???

Roy's new code doesn't need iptables to direct the traffic, it just take
all the traffic directly from the kernel.

Rubens

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

author
#3 lore raw
In reply to Remus

Hi Andres,

Why you egrees for the IMQ?

Kernel already has egrees, the problem is only with ingress and it is why we need IMQ.
As I wrote in email you dont have to pacth kernel or iptables. Just use PREROUTING mangle to mark with iptables.

Regards

Remus

----- Original Message -----
From: "ThE LinuX_KiD" <[email protected]>
To: "Remus" <[email protected]>; <[email protected]>
Sent: Thursday, February 12, 2004 2:57 PM
Subject: RE: [LARTC] HFSC usage

Quoted 24 lines

Hi,

In README seems that your patchs doesn't with egress,

Please, tell me if you want to mean that patch works or not with:

iptables -t mangle -A POSTROUTING ..... -j IMQ ???

thank you.
Andres

-----Mensaje original-----
De: [email protected] [mailto:[email protected]]En nombre de Remus
Enviado el: Jueves, 12 de Febrero de 2004 10:26 a.m.
Para: [email protected]
Asunto: [LARTC] HFSC usage

Quoted 5 lines

Hi folks,

Is anybody using HFSC http://trash.net/~kaber/hfsc/?

I would like to get script examples if possible, in more less clear

format.

Quoted 2 lines

There is a new IMQ port for 2.4 and 2.6 kernels http://pupa.da.ru/imq/

(just

Quoted 4 lines

module, no needs to patch kernel or iptables) and it seems to be much easy to use hfsc than htb.

Quoted 8 lines

Thanks in advance

Remus

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

author
#4 lore raw
In reply to Remus

Hi Andres,

Why you need egrees for the IMQ?

Kernel already has egrees, the problem is only with ingress and it is why we need IMQ.
As I wrote in previous email you dont have to pacth kernel or iptables. Just use PREROUTING mangle to mark with iptables.

Regards

Remus

----- Original Message -----
From: "ThE LinuX_KiD" <[email protected]>
To: "Remus" <[email protected]>; <[email protected]>
Sent: Thursday, February 12, 2004 2:57 PM
Subject: RE: [LARTC] HFSC usage

Quoted 24 lines

Hi,

In README seems that your patchs doesn't with egress,

Please, tell me if you want to mean that patch works or not with:

iptables -t mangle -A POSTROUTING ..... -j IMQ ???

thank you.
Andres

-----Mensaje original-----
De: [email protected] [mailto:[email protected]]En nombre de Remus
Enviado el: Jueves, 12 de Febrero de 2004 10:26 a.m.
Para: [email protected]
Asunto: [LARTC] HFSC usage

Quoted 5 lines

Hi folks,

Is anybody using HFSC http://trash.net/~kaber/hfsc/?

I would like to get script examples if possible, in more less clear

format.

Quoted 2 lines

There is a new IMQ port for 2.4 and 2.6 kernels http://pupa.da.ru/imq/

(just

Quoted 4 lines

module, no needs to patch kernel or iptables) and it seems to be much easy to use hfsc than htb.

Quoted 8 lines

Thanks in advance

Remus

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#6 lore raw
In reply to Remus

Hello

If you have a linux box in order to share your internet connection in one LAN segment, there is not problem

but you you have two or more LAN ethenets cards in your linux box, shaping by ip client is difficult because in your "shapping" script you have to take account in which lan segment is each customer.

I use IMQ egress and shape outbound traffic over it. Next I attach LAN ethernets over IMQ device

regards

-> -----Mensaje original-----
-> De: Remus [mailto:[email protected]]
-> Enviado el: Jueves, 12 de Febrero de 2004 12:49 p.m.
-> Para: ThE LinuX_KiD
-> CC: [email protected]
-> Asunto: Re: [LARTC] HFSC usage
->
->
-> Hi Andres,
->
-> Why you egrees for the IMQ?
->
-> Kernel already has egrees, the problem is only with ingress and -> it is why we
-> need IMQ.
-> As I wrote in email you dont have to pacth kernel or iptables. -> Just use PREROUTING mangle to mark with iptables.
->
-> Regards
->
-> Remus
->
-> ----- Original Message -----
-> From: "ThE LinuX_KiD" <[email protected]>
-> To: "Remus" <[email protected]>; <[email protected]> -> Sent: Thursday, February 12, 2004 2:57 PM
-> Subject: RE: [LARTC] HFSC usage
->
->
-> >
-> > Hi,
-> >
-> > In README seems that your patchs doesn't with egress,
-> >
-> > Please, tell me if you want to mean that patch works
-> > or not with:
-> >
-> > iptables -t mangle -A POSTROUTING ..... -j IMQ ???
-> >
-> > thank you.
-> > Andres
-> >
-> >
-> >
-> >
-> > -----Mensaje original-----
-> > De: [email protected] [mailto:[email protected]]En -> > nombre de Remus
-> > Enviado el: Jueves, 12 de Febrero de 2004 10:26 a.m.
-> > Para: [email protected]
-> > Asunto: [LARTC] HFSC usage
-> >
-> >
-> > Hi folks,
-> >
-> > Is anybody using HFSC http://trash.net/~kaber/hfsc/?
-> >
-> > I would like to get script examples if possible, in more less clear -> format.
-> >
-> > There is a new IMQ port for 2.4 and 2.6 kernels http://pupa.da.ru/imq/
-> (just
-> > module, no needs to patch kernel or iptables)
-> > and it seems to be much easy to use hfsc than htb.
-> >
-> >
-> > Thanks in advance
-> >
-> > Remus
-> >
-> > _______________________________________________
-> > LARTC mailing list / [email protected]
-> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
-> >
->
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#7 lore raw
In reply to Remus

your "shapping" script you have to take account in which

Quoted 4 lines

lan segment is each customer.

I use IMQ egress and shape outbound traffic over it. Next I attach LAN ethernets over IMQ device

/not tryied it yet/
but what with other devices, like imq1, imq1 ?

cat it handle iptables -j IMQ --to-dev xx ??

Arkadiusz Binder
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/