From owner-freebsd-net@FreeBSD.ORG Mon Apr 9 12:40:13 2012 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E45D106566C for ; Mon, 9 Apr 2012 12:40:13 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id C40398FC16 for ; Mon, 9 Apr 2012 12:40:12 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 98ADA7300A; Mon, 9 Apr 2012 14:59:22 +0200 (CEST) Date: Mon, 9 Apr 2012 14:59:22 +0200 From: Luigi Rizzo To: Randy Bush Message-ID: <20120409125922.GA38663@onelab2.iet.unipi.it> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Net Subject: Re: dummynet dummy X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2012 12:40:13 -0000 On Mon, Apr 09, 2012 at 09:07:19PM +0900, Randy Bush wrote: > new to dummynet > > FreeBSD dum0.sea.rg.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Thu Apr 5 00:53:01 UTC 2012 root@dum0:/usr/obj/usr/src/sys/GENERIC amd64 > > dum0# ipfw show > 00100 0 0 deny log ip from any to any ipoptions ssrr,lsrr,rr > 00200 0 0 allow ip from any to any via lo0 > 00300 0 0 deny log ip from 127.0.0.0/8 to any > 00400 0 0 deny log ip from any to 127.0.0.0/8 > 00500 0 0 allow tcp from me to any dst-port 25 > 00600 0 0 deny tcp from any to any dst-port 25 > 00700 6 7389 pipe 1 tcp from 147.28.2.129 to 147.28.2.133 > 00800 28 34816 pipe 2 tcp from 147.28.2.133 to 147.28.2.129 > 65530 590 64704 allow ip from any to any > 65535 36 5331 deny ip from any to any > > dum0# ipfw 900 pipe 1 config queue 20 delay 10ms remove the '900' ipfw pipe 1 config queue 20 delay 10ms cheers luigi > ipfw: bad command `1' > > i was following the cookbook as closely as i could. must be something > simple, but i am not seeing it. > > randy > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"