Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 1996 08:09:12 -0500 (CDT)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        ishort@pcm.co.za
Cc:        questions@freebsd.org, isp@freebsd.org
Subject:   Re: Bandwidth limited FTP server
Message-ID:  <199604231309.IAA29272@brasil.moneng.mei.com>
In-Reply-To: <199604231230.OAA24890@pcmgate.pcm.co.za> from "Irvine Short" at Apr 23, 96 02:24:29 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604231309.IAA29272>