From owner-freebsd-questions Tue Apr 23 06:11:06 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA01091 for questions-outgoing; Tue, 23 Apr 1996 06:11:06 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA01068 Tue, 23 Apr 1996 06:10:59 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id IAA29272; Tue, 23 Apr 1996 08:09:13 -0500 From: Joe Greco Message-Id: <199604231309.IAA29272@brasil.moneng.mei.com> Subject: Re: Bandwidth limited FTP server To: ishort@pcm.co.za Date: Tue, 23 Apr 1996 08:09:12 -0500 (CDT) Cc: questions@freebsd.org, isp@freebsd.org In-Reply-To: <199604231230.OAA24890@pcmgate.pcm.co.za> from "Irvine Short" at Apr 23, 96 02:24:29 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi All > > Any idea what ftpd to get hold of to limit bandwidth for anon ftp? > > We are on a 28800 leased line and we want to limit the number of > anonymous users and what bandwidth they use otherwise our web server > becomes useless. > > I know that when I used to log into ftp.funet.fi I had limited > bandwidth. 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. We had a little engineer(ing) problem once. ;-) The sleep() thing is VERY cheap but also VERY effective. ... Joe "You Can't Throttle Tftp!" "Oh Yeah? Watch Me." Greco ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968