From owner-freebsd-security@FreeBSD.ORG Wed May 7 06:03:58 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 3097337B401 for ; Wed, 7 May 2003 06:03:58 -0700 (PDT) Received: from thunder.xecu.net (thunder.xecu.net [216.127.136.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id A293043F75 for ; Wed, 7 May 2003 06:03:57 -0700 (PDT) (envelope-from chris@xecu.net) Received: by thunder.xecu.net (Postfix, from userid 278) id 3AB9A24E17; Wed, 7 May 2003 09:03:55 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by thunder.xecu.net (Postfix) with ESMTP id 30CAC24E07 for ; Wed, 7 May 2003 09:03:55 -0400 (EDT) Date: Wed, 7 May 2003 09:03:55 -0400 (EDT) From: Chris McGee To: freebsd-security@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: 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:03:58 -0000 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? Thanks, Chris xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Chris McGee 301-682-9972 Xecunet www.xecu.net xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Dialup * Webhosting * E-Commerce * High-Speed Access