From owner-freebsd-ipfw@FreeBSD.ORG Tue Jan 2 00:56:00 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 9B5AD16A40F for ; Tue, 2 Jan 2007 00:56:00 +0000 (UTC) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.4.150.5]) by mx1.freebsd.org (Postfix) with ESMTP id 76BCD13C448 for ; Tue, 2 Jan 2007 00:56:00 +0000 (UTC) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id 513D0263D1; Mon, 1 Jan 2007 19:55:57 -0500 (EST) Date: Mon, 1 Jan 2007 19:55:57 -0500 (EST) From: Ensel Sharon To: freebsd-ipfw@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: lowercase 'm' with dummynet rate limiting ? Known issue ? 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, 02 Jan 2007 00:56:00 -0000 Newly installed 6.1-RELEASE system with dummynet and hz=1000 built into the kernel. I ran this succession of commands: ipfw pipe 1 config bw 10Kbit/s ipfw add 00005 pipe 1 all from any to any Great. It works. Things are damned slow, which proves it is doing what I want it to. I also want to pass the packets through after the pipe to a few other ipfw rules, so I then did this: sysctl -w net.inet.ip.fw.one_pass=0 Everything still working great. Now, I want to just adjust the rate to the bandwidth I _really_ want, not 10 Kbit/s. So I run this command: ipfw pipe 1 config bw 10mbit/s Oops. After about 5 minutes, the prompt returns, so it's not like a normal accidental-ipfw-lockout (when those happen you never see the prompt again). But it might as well be, because that was the last response I got out of that system - can't ping it, can't connect, and both ssh sessions timed out trying to get a prompt back. So what did I do wrong ? I see that the man page calls for a uppercase M (10Mbits/s) whereas I typed a lowercase 'm'. Was that the problem ? Or was I supposed to remove the first pipe completely before reissuing the 'ipfw pipe 1 config' command again ? Any idea why that command took it off line ?