Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 10:18:46 -0500
From:      "Scott M. Nolde" <scott@smnolde.com>
To:        Clint Olsen <clint@0lsen.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Throttling ethernet throughput
Message-ID:  <20020322101846.A41543@smnolde.com>
In-Reply-To: <20020321215808.GA28484@0lsen.net>; from clint@0lsen.net on Thu, Mar 21, 2002 at 01:58:08PM -0800
References:  <20020321215808.GA28484@0lsen.net>

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




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