From owner-freebsd-questions Fri Mar 22 7:19: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smnolde.com (c-24-98-60-141.atl.client2.attbi.com [24.98.60.141]) by hub.freebsd.org (Postfix) with ESMTP id 5462837B43B for ; Fri, 22 Mar 2002 07:18:47 -0800 (PST) Received: from bsd ([192.168.10.7] helo=bsd.smnolde.com) by smnolde.com with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.30 #1) id 16oQoZ-0003nL-00; Fri, 22 Mar 2002 10:18:47 -0500 Received: from scott by bsd.smnolde.com with local (Exim 3.33 #1) id 16oQoZ-000ArH-00; Fri, 22 Mar 2002 10:18:47 -0500 Date: Fri, 22 Mar 2002 10:18:46 -0500 From: "Scott M. Nolde" To: Clint Olsen Cc: freebsd-questions@freebsd.org Subject: Re: Throttling ethernet throughput Message-ID: <20020322101846.A41543@smnolde.com> References: <20020321215808.GA28484@0lsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020321215808.GA28484@0lsen.net>; from clint@0lsen.net on Thu, Mar 21, 2002 at 01:58:08PM -0800 X-GPG_Fingerprint: 0BD6 DDB4 2978 EB60 E0C8 33F2 BC34 9087 D869 AB48 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 Clint Olsen(clint@0lsen.net)@2002.03.21 13:58:08 +0000: > I sent this out on the postfix-users list, and they suggested the *only* > way to handle this at the operating systems level. I can see their point. > > I'm on a cable modem service which has 1.5M download and strangled 128K > upload. When I send a a fairly large attachment to a lot of recipients, > my MTA attempts to deliver to many recipients in parallel, causing my > outbound throughput to approach damn near zero. Now, I can limit the > number of simultaneous smtp connections that Postfix attempts, but this is > not a guarantee that a fast receiver will still manage to consume all of my > available bandwidth. > > Some list members suggested dummynet(4). However this requires the use if > ipfw and friends of which I'm not really familiar. Is this the only way to > do this? I am not using FreeBSD as a firewall. It is a peer on a local > network with the gateway being a Linksys firewall/router. > > Thanks, > > -Clint > -- > Clint Olsen . -- . > clint at NULlsen dot net .' ,-. `. > ;_,' ( ; > `. ``;' > FreeBSD: Rebooting is for hardware upgrades. ` -- ' DUMMYNET is the way to go and it's quite simple to limit outbound connections to mail servers only. Give it a try. The man page is quite good. -- Scott Nolde GPG Key 0xD869AB48 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message