From owner-freebsd-questions Tue Apr 23 08:05:54 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA09104 for questions-outgoing; Tue, 23 Apr 1996 08:05:54 -0700 (PDT) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA09098 Tue, 23 Apr 1996 08:05:51 -0700 (PDT) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA07538; Tue, 23 Apr 1996 11:04:30 -0400 Date: Tue, 23 Apr 1996 11:04:30 -0400 From: Garrett Wollman Message-Id: <9604231504.AA07538@halloran-eldar.lcs.mit.edu> To: Joe Greco Cc: ishort@pcm.co.za, questions@freebsd.org, isp@freebsd.org Subject: Re: Bandwidth limited FTP server In-Reply-To: <199604231309.IAA29272@brasil.moneng.mei.com> References: <199604231230.OAA24890@pcmgate.pcm.co.za> <199604231309.IAA29272@brasil.moneng.mei.com> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk < said: > The easiest way to limit bandwidth is to insert a sleep() call after write() > in your favorite network utility (here, ftpd). Limiting the number of users > is trivial, most enhanced ftpd's will do that automatically, based on config > file. This won't work in the standard ftpd because we write the entire file in a single call to write(2). Maybe by the end of this year we'll manage to make a public release of ISPS and then you can configure a link-share class for FTP data.... (I wouldn't hold my breath, though, as trying to get code out of my boss is like trying to get code out of Van Jacobson.) -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant