Re: Shaping on Ports, multiple IP Address's, and SFQ

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dave Scott wrote:
Another question, I was also thinking of limiting everyone's bandwidth
to like say 500K each, so no connection can get more then 500k, then
it would take about 6 people using full connections to max the line.

And then what? If the line is maxed, then it's maxed, wether that's done by a single user, or by three, six, or twelve people doesn't really make much difference to me...


Doing the math, if I had 125 users divided up into a 3mbit connection,
I would have to have a rate of 24 kbps and ceil of 500kbps per class.
But if I did rate limit each user, now how do I rate limit all the
ports flowing as a whole like I was originally doing?

Limiting per user and limiting per port are two different approaches which just don't mix well. By creating one class per user (all with the same rates), HTB is supposed to distribute available bandwidth in a fair manner among all active users. By adding a limit to certain ports however, some users will be limited in favour to others.


The port stuff isn't a good idea anyway since it can be easily bypassed. Especially filesharing applications such as BitTorrent can be moved to any port you like. If you want to recognize this kind of traffic, you're better off using ipp2p, l7-filter or similar.

Andreas
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux