From owner-freebsd-questions@FreeBSD.ORG Thu Jan 8 02:05:30 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 426B616A4CE for ; Thu, 8 Jan 2004 02:05:30 -0800 (PST) Received: from mail.8ball.co.za (8ball.co.za [192.96.48.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93D9D43D55 for ; Thu, 8 Jan 2004 02:05:25 -0800 (PST) (envelope-from nelis@8ball.co.za) Received: (qmail 36934 invoked by uid 89); 8 Jan 2004 10:05:22 -0000 Received: from unknown (HELO ?192.168.10.3?) (192.168.10.3) by 192.168.10.1 with SMTP; 8 Jan 2004 10:05:22 -0000 From: Nelis Lamprecht To: Jamie Grunewald In-Reply-To: <20040108093703.70733.qmail@web12101.mail.yahoo.com> References: <20040108093703.70733.qmail@web12101.mail.yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-qVbbzs+pINScmWAWk8x5" Message-Id: <1073556321.652.30.camel@enigma.8ball.co.za> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 08 Jan 2004 12:05:21 +0200 cc: FreeBSD Questions Mail List Subject: Re: bandwidth throttling for a particlarport for FTP server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nelis@8ball.co.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 10:05:30 -0000 --=-qVbbzs+pINScmWAWk8x5 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-01-08 at 11:37, Jamie Grunewald wrote: > hi, >=20 > I'm fairly new to FreeBSD and I hope this is the > proper group to post this question. >=20 > I'm setting up a FTP server on FreeBSD 5.1 to be > accessed by a select number of people. Is there a way > to limit the amount of bandwidth that would allocated > (e.g. I don't want to use the full 768kb/s (internet > connection max)) for my FTP port? I have multiple > systems on my home LAN, the reason for limiting my > bandwidth for FTP purposes. I do have a router with > an active firewall. >=20 > Thanks > james Hi, By using ipfw(8) and dummynet(4) you can artificially limit the amount of bandwidth used for a specific network/port. The man pages for ipfw(8) contain some useful examples on how to configure and use this. Another method would be to use a FTP Server that supports bandwidth throttling eg. ProFTPD ( www.proftpd.org )=20 It has variables like RateWriteBPS, RateReadBPS etc which you can configure to suit your bandwidth requirements. Regards, --=20 Nelis Lamprecht PGP: http://www.8ball.co.za/pgp/nelis.key "Unix IS user friendly.. It's just selective about who its friends are." --=-qVbbzs+pINScmWAWk8x5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA//SthQfIMKiRMCrERAqnTAKDxfp7LTN07sCgQeQU9lAJsASNYYQCfcgL/ Iulc2f61nauagRZdgLse2/k= =GpM9 -----END PGP SIGNATURE----- --=-qVbbzs+pINScmWAWk8x5--