From owner-freebsd-ipfw@FreeBSD.ORG Tue Jan 16 19:48:52 2007 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 642BC16A412 for ; Tue, 16 Jan 2007 19:48:52 +0000 (UTC) (envelope-from aronesimi@yahoo.com) Received: from web58611.mail.re3.yahoo.com (web58611.mail.re3.yahoo.com [68.142.236.209]) by mx1.freebsd.org (Postfix) with SMTP id 1736113C448 for ; Tue, 16 Jan 2007 19:48:51 +0000 (UTC) (envelope-from aronesimi@yahoo.com) Received: (qmail 70875 invoked by uid 60001); 16 Jan 2007 19:22:10 -0000 Message-ID: <20070116192210.70873.qmail@web58611.mail.re3.yahoo.com> DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=hLSQeud79OOP2/x16WnDl5RpqoS+xppAiG46l26+s3flWaiyS1p4YPWWJbUg/z3xr4+RW/U8+WsaxQO55oLn5CwS2RxermpGrZzCpBCDdZlHoeR2jBSHgTUHsqhVBOhVTpJEQVsV6IzdtwWDg6JVEVRh1CPeV8Mdiobg+KX/CIA=; X-YMail-OSG: 7xuA3SgVM1n3SuZMhgTtBGq1PHkGxGF3pKxIVKcb Received: from [69.146.20.104] by web58611.mail.re3.yahoo.com via HTTP; Tue, 16 Jan 2007 11:22:10 PST Date: Tue, 16 Jan 2007 11:22:10 -0800 (PST) From: Arone Silimantia To: freebsd-ipfw@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 16 Jan 2007 22:18:20 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: "proper" method of changing dummynet limit ? X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2007 19:48:52 -0000 Hello, I currently implement a dummynet rate limit, after boot up, with this sequence: sysctl -w net.inet.ip.fw.one_pass=0 ipfw pipe 1 config bw 10Mbit/s ipfw add 10000 pipe 1 all from any to any Easy. My question is, if I want to change the rate from 10 Mbit/s to 20 Mbit/s, do I just reissue the 'ipfw pipe' command: ipfw pipe 1 config bw 20Mbit/s while leaving the ipf rule in place ? Or should I tear down rule 10000 first, and tear down the pipe, and start from scratch ? Is it safe to just reissue the pipe command on the fly like that ? --------------------------------- Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.