Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jan 2004 12:05:21 +0200
From:      Nelis Lamprecht <nelis@8ball.co.za>
To:        Jamie Grunewald <ccs2601@yahoo.com>
Cc:        FreeBSD Questions Mail List <questions@freebsd.org>
Subject:   Re: bandwidth throttling for a particlarport for FTP server
Message-ID:  <1073556321.652.30.camel@enigma.8ball.co.za>
In-Reply-To: <20040108093703.70733.qmail@web12101.mail.yahoo.com>
References:  <20040108093703.70733.qmail@web12101.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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--



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