From owner-freebsd-security@FreeBSD.ORG Wed May 7 06:18:26 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C699037B401 for ; Wed, 7 May 2003 06:18:26 -0700 (PDT) Received: from mail.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D3B143F75 for ; Wed, 7 May 2003 06:18:26 -0700 (PDT) (envelope-from munk@mail.munk.nu) Received: from munk by mail.munk.nu with local (Exim 4.14) id 19DOoT-000G2A-Lh; Wed, 07 May 2003 14:18:25 +0100 Date: Wed, 7 May 2003 14:18:25 +0100 From: Jez Hancock To: Chris McGee Message-ID: <20030507131825.GE59479@users.munk.nu> Mail-Followup-To: Chris McGee , FreeBSD Security List References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: User Munk cc: FreeBSD Security List Subject: Re: IPFW Bandwidth throttling? X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2003 13:18:27 -0000 On Wed, May 07, 2003 at 09:03:55AM -0400, Chris McGee wrote: > > I am trying to limit outgoing SMTP traffic to about 14 Mbps and these are > the IPFW rules I am using. > > ${fwcmd} add pipe 1 tcp from 192.168.0.0/24 to any 25 out via dc0 > ${fwcmd} pipe 1 config bw 14Mbit/s > > I've tried multiple tweaks to the pipe rule and I seem to be missing > something. I only get about half the bandwidth I specify. Is this normal > behavior? Is there something wrong with the rule I'm running? Are you sure you mean Mbit/s and not MByte/s?