On Sat, Oct 16, 2010 at 06:48:01PM -0500, Sam Leon wrote: > On 10/16/2010 03:37 PM, lee wrote: > >Hi, > > > >is it possible to implement adaptive traffic shaping with shorewall? > > Yes by using HTB with the traffic shaper: > http://www.shorewall.net/traffic_shaping.htm > > It is very easy to use, but it will take quite awhile to learn it...
Thanks! I´m not sure if I understand it correctly, but it seems that shorewall is implementing the traffic shaping adaptively by default in that it uses HTB to put classes in and then supplies the classes with bandwidth according to their priority ... In the setup I was using, testing showed that this didn´t work. That made me set a low ceiling for some traffic which in turn made me think that the traffic shaping should rather be adaptive. But now I found that I overlooked to define a default class without which it obviously couldn´t work. I changed the setup, and now further testing is needed. --- If my understanding is correct, you´re right and it´s easy to use but takes a while to learn :) One thing I don´t understand is that there´s no rule for the tcp-ack packages in the tcrules file. When you look at the sections titled "Configuration to replace Wondershaper" and "A simple setup" in [1], they want to speed up downloads by sending out acknowledgements fast: "We add a class for tcp ack packets with highest priority, so that downloads are fast." They do that in the tcclasses file, but there´s no rule to mark such packages in the tcrules file they use in these examples. How does that work? [1]: http://www.shorewall.net/traffic_shaping.htm -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20101017011856.gc7...@yun.yagibdah.de