From owner-freebsd-questions Fri Oct 4 13: 2:29 2002 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 D222837B401 for ; Fri, 4 Oct 2002 13:02:27 -0700 (PDT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id B291E43E75 for ; Fri, 4 Oct 2002 13:02:26 -0700 (PDT) (envelope-from fgleiser@cactus.fi.uba.ar) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.12.3/8.12.3) with ESMTP id g94JkDSL091615; Fri, 4 Oct 2002 16:46:13 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Fri, 4 Oct 2002 16:46:12 -0300 (ART) From: Fernando Gleiser To: greg Cc: questions@freebsd.org Subject: Re: Dummynet & ports In-Reply-To: <3D9DED4F.3000808@slough-feg.com> Message-ID: <20021004163944.T90352-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-3.4 required=5.0 tests=IN_REP_TO version=2.31 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 4 Oct 2002, greg wrote: > So if i did something like use wu-ftpd and use the "passive ports" > directive in > /etc/ftpaccess then i would be able to control the passive ports used > and then pipe them with dummynet? Yes. And no :). By doing that you can limit the bandwidth used by people who access *your* ftp, but you can't control which ephemeral port will bew chosen by a *remote* ftpd (ie, ftp.freebsd.org) because that is daemon/OS dependant. The best solution I've found is to install a dedicated proxy server for FTP/HTTP and then limit the traffic for that proxy server. But you need an extra machine for that. Fer > > Does this sound right? > > Thanks in advance > > greg > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message