From owner-freebsd-ipfw Tue Apr 2 19:15:48 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id F093537B405 for ; Tue, 2 Apr 2002 19:15:43 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g333Ff790536; Tue, 2 Apr 2002 19:15:41 -0800 (PST) (envelope-from rizzo) Date: Tue, 2 Apr 2002 19:15:41 -0800 From: Luigi Rizzo To: rick norman Cc: freebsd-ipfw@FreeBSD.ORG Subject: Re: dummynet pipes Message-ID: <20020402191541.A90506@iguana.icir.org> References: <3CAA0C05.5062D5A7@lmco.com> <20020402120303.A87723@iguana.icir.org> <3CAA5615.21490755@lmco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CAA5615.21490755@lmco.com> User-Agent: Mutt/1.3.23i 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 rules are rules, and pipes are pipes. Two different objects, two different namespaces. ipfw pipe flush deletes pipes, ipfw flush deletes rules. cheers luigi On Tue, Apr 02, 2002 at 05:08:38PM -0800, rick norman wrote: > 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