Re: [LARTC] Priority for slower connections

Linux Advanced Routing and Traffic Control

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

 



On Mon, 4 Jun 2001 pete@xxxxxx wrote:

>   We are using linux as our comany internet gateway (snat, kernel
> 2.4.5) and we would like to prioritize slower connections, i.e. the
> higher amount of data per time the connection receives (or
> transmits) the lower priority it should have. We would simply like to
> put all downloads and big webs to lowest priority, and telnet, ssh,
> small webs and so to highest priority, but dynamically, depending
> on connection data usage, not on destination port or anything
> staticaly defined. Is it possible? And if, how? I could not find
> anything like that in any document.

It sounds that a token bucket filter (TBF) with low rate and intermediate
burst level per connection is the thing you need. But I'm afraid if cou
attach a TBF qdisc to a class, it arranges the queueing for all the
packets in that class, and it won't differentiate between the connections.

I'm not sure about this, someone who knows better is invited to correct
me.

Maybe you can achieve a comparable effect splitting the traffic depending
on static TCP ports first, and fine tune the setup later ..







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