From owner-freebsd-security@FreeBSD.ORG Wed May 7 07:02:49 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 9801A37B404 for ; Wed, 7 May 2003 07:02:49 -0700 (PDT) Received: from mx1.dev.itouchnet.net (itouchlabs.com [196.15.188.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB11A43F3F for ; Wed, 7 May 2003 07:02:46 -0700 (PDT) (envelope-from bvi@itouchlabs.com) Received: from nobody by mx1.dev.itouchnet.net with scanned_ok (Exim 3.35 #1) id 19DPYu-000F97-00 for freebsd-security@freebsd.org; Wed, 07 May 2003 16:06:24 +0200 X-TLS: TLSv1:RC4-MD5:128 itouchlabs.com -> mx1.dev.itouchnet.net Received: from itouchlabs.com ([196.15.188.2] helo=Beastie) by mx1.dev.itouchnet.net with esmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 19DPYt-000F8w-00 for freebsd-security@freebsd.org; Wed, 07 May 2003 16:06:23 +0200 Message-ID: <007b01c314a1$174b0af0$4508a8c0@Beastie> From: "Barry Irwin" To: References: <3EB91062.22408FB8@dolaninformation.com> Date: Wed, 7 May 2003 15:57:54 +0200 Organization: iTouch Labs MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Checked: This message has been scanned for any virusses and unauthorized attachments. X-iScan-ID: 58217-1052316383-09603@unconfigured version $Name: REL_2_0_4 $ 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 14:02:49 -0000 Another thing to maybe try is up the HZ setting in your kernel. Have a look at the dummynet page. Barry -- Barry Irwin bvi@itouchlabs.com Tel: +27214875178 Systems Administrator: Networks And Security iTouch Technology iTouch TAS http://www.itouchlabs.com Mobile: +27824457210 ----- Original Message ----- From: "Greg Panula" To: "Chris McGee" Cc: Sent: Wednesday, May 07, 2003 3:55 PM Subject: Re: IPFW Bandwidth throttling? > 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? > > > > The pipe config & pipe rule look correct. > > Try 'ipfw pipe list' to confirm the pipe is configured for the correct > bandwidth and not dropping excessive amounts of packets. > > Is dc0 configured for 100Mbps or 10Mbps? 7Mbps is close to the ceiling > for a 10Mbps link. > > Are you sure you have ~2MBps worth of smtp traffic to pass when you're > watching? If you increase the bandwidth on the pipe do you see more > than the ~7Mbps you're currently seeing? > > > good luck, > greg > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" > > >