From owner-freebsd-ipfw Tue Apr 2 17:16:41 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from mailgw1a.lmco.com (mailgw1a.lmco.com [192.31.106.7]) by hub.freebsd.org (Postfix) with ESMTP id EBCB537B416 for ; Tue, 2 Apr 2002 17:16:36 -0800 (PST) Received: from emss01g01.ems.lmco.com (relay1.ems.lmco.com [129.197.181.54]) by mailgw1a.lmco.com (8.11.6/8.11.6) with ESMTP id g331GYf03303; Tue, 2 Apr 2002 18:16:35 -0700 (MST) Received: from CONVERSION-DAEMON by lmco.com (PMDF V5.2-33 #38886) id <0GTY00101WMD3P@lmco.com>; Tue, 2 Apr 2002 17:11:01 -0800 (PST) Received: from lmco.com ([129.197.20.43]) by lmco.com (PMDF V5.2-33 #38886) with ESMTP id <0GTY00E48WM8IL@lmco.com>; Tue, 02 Apr 2002 17:10:56 -0800 (PST) Date: Tue, 02 Apr 2002 17:08:38 -0800 From: rick norman Subject: Re: dummynet pipes To: Luigi Rizzo Cc: freebsd-ipfw@FreeBSD.ORG Message-id: <3CAA5615.21490755@lmco.com> MIME-version: 1.0 X-Mailer: Mozilla 4.79 [en] (WinNT; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en References: <3CAA0C05.5062D5A7@lmco.com> <20020402120303.A87723@iguana.icir.org> Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm running 4.3 so I don't know if that makes a difference, but there are somethings I don't understand about the commands. If the command 'ipfw add pipe 1 ip from ...' is executed, I get a rule 00100 number added with the pipe number requested according to 'ipfw list'. The command 'ipfw pipe 1 delete' then gives a setsockopt err. 'ipfw pipe flush' returns successfully but when I list the rules, nothing is gone. 'ipfw delete 100' deletes the rule and the pipe is no longer visible. Apparently I don't understand how pipe numbers relate to rule numbers. I've read what I could find, any help or reading reccomendations are appreciated. thanks Rick Norman Luigi Rizzo wrote: > On Tue, Apr 02, 2002 at 11:52:37AM -0800, rick norman wrote: > > What is the best way to remove a dummynet pipe once it is installed ? > > Is it neccessary to issue an 'ipfw pipe n delete' ? Does 'ipfw -f > > -flush' > > remove the pipes as well as the rules ? > > "ipfw pipe flush" deletes all pipes. > "ipfw pipe N delete" deletes one pipe. > > luigi > > > > > Thanks, > > Rick Norman > > rick.norman@lmco.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-ipfw" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ipfw" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message