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
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: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]En nombre de Remus Enviado el: Jueves, 12 de Febrero de 2004 10:26 a.m. Para: lartc@mailman.ds9a.nl 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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 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.> 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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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" <gregoriandres@yahoo.com.ar> To: "Remus" <rmocius@auste.elnet.lt>; <lartc@mailman.ds9a.nl> 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: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]En > nombre de Remus > Enviado el: Jueves, 12 de Febrero de 2004 10:26 a.m. > Para: lartc@mailman.ds9a.nl > 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 clearformat.> > 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 / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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" <gregoriandres@yahoo.com.ar> To: "Remus" <rmocius@auste.elnet.lt>; <lartc@mailman.ds9a.nl> 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: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]En > nombre de Remus > Enviado el: Jueves, 12 de Febrero de 2004 10:26 a.m. > Para: lartc@mailman.ds9a.nl > 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 clearformat.> > 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 / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Thu, 12 Feb 2004, Remus wrote:> Why you egrees for the IMQ?In order to make traffic policies for multiple uplinks, or policies that measure input+output traffic. That''s far less common than ingress shaping, but one of the valid uses for IMQ. Rubens _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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:rmocius@auste.elnet.lt] -> Enviado el: Jueves, 12 de Febrero de 2004 12:49 p.m. -> Para: ThE LinuX_KiD -> CC: lartc@mailman.ds9a.nl -> 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" <gregoriandres@yahoo.com.ar> -> To: "Remus" <rmocius@auste.elnet.lt>; <lartc@mailman.ds9a.nl> -> 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: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]En -> > nombre de Remus -> > Enviado el: Jueves, 12 de Febrero de 2004 10:26 a.m. -> > Para: lartc@mailman.ds9a.nl -> > 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 / LARTC@mailman.ds9a.nl -> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ -> > -> _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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/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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/