QOS for nnrpd?

Russ Allbery rra at stanford.edu
Wed Apr 25 20:10:16 UTC 2001


Dan Hollis <goemon at anime.net> writes:

> I want to be able to specify rough bandwidth limitations for specific
> clients, eg 256kbps for one, 128kbps for another. nnrpd could do it by
> sending output in chunks, calculating current speed, and usleep()
> appropriately to moderate output speed.

Yup, the code is already there; currently I think you can only get at it
through the Perl authentication hooks, though.  Take a look at the Perl
authentication hook documentation; authenticate can return a maximum
number of bytes per second as the fifth value.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>


More information about the inn-workers mailing list