All of lore.kernel.org
 help / color / mirror / Atom feed
* Per connection transfer rate matching
@ 2004-02-04 22:31 Nuutti Kotivuori
  2004-02-05  7:28 ` Ray Leach
  0 siblings, 1 reply; 3+ messages in thread
From: Nuutti Kotivuori @ 2004-02-04 22:31 UTC (permalink / raw)
  To: netfilter

I have recently trying to find a solution to a QoS problem of sorts.

What I would wish to be able to do, is to mark a connection based on
the data transfer rate in that connection. That is, to have some sort
of a token bucket filter or rate estimator attached to a certain
connection tracking connection - and to be able to use that in
netfilter rules.

An example problem case is trivial. Let's assume we have an
interactive transfer class, which has several interactive sessions
where latency is tried to be kept to a minimum. Occasionally some
interactive session might start transferring a lot of data - in which
case it should be scheduled into the maximum throughput class,
forgetting latency, until it doesn't transfer that much and it should
be returned to the interactive class again.

The 'connbytes' match in the patch-o-matic matches on cumulative
transfer amounts on a per connection basis. The 'limit' match matches
packets on a simple token bucket implementation. Combining these two
to something which matches bytes on a simple token bucket per
connection would create the desired result.

So, does such a thing exist already? If not, do other people see this
as useful as I do? Or have I missed something crucial?

And finally, if it doesn't exist already, making such a module
shouldn't be too hard - would anyone be willing to undertake such an
ordeal?

-- Naked



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-10 18:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-04 22:31 Per connection transfer rate matching Nuutti Kotivuori
2004-02-05  7:28 ` Ray Leach
2004-02-10 18:02   ` Nuutti Kotivuori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.