Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2002 19:15:41 -0800
From:      Luigi Rizzo <rizzo@icir.org>
To:        rick norman <rick.norman@lmco.com>
Cc:        freebsd-ipfw@FreeBSD.ORG
Subject:   Re: dummynet pipes
Message-ID:  <20020402191541.A90506@iguana.icir.org>
In-Reply-To: <3CAA5615.21490755@lmco.com>
References:  <3CAA0C05.5062D5A7@lmco.com> <20020402120303.A87723@iguana.icir.org> <3CAA5615.21490755@lmco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020402191541.A90506>