Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2005 02:02:03 +0200
From:      Alex de Kruijff <akruijff@dds.nl>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        ipfw@freebsd.org
Subject:   Re: error in man ipfw / divert
Message-ID:  <20050722000203.GF887@Alex.lan>
In-Reply-To: <20050721153016.A87676@xorpc.icir.org>
References:  <20050721214242.GA2201@Alex.lan> <20050721153016.A87676@xorpc.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 21, 2005 at 03:30:16PM -0700, Luigi Rizzo wrote:
> On Thu, Jul 21, 2005 at 11:42:42PM +0200, Alex de Kruijff wrote:
> > Hi,
> > 
> > I was wrondering is man ipfw wrong here?
> > 
> > man ipfw tells: divert port  -
> >              Divert packets that match this rule to the divert(4) socket 
> > bound to port port.  The search terminates.
> ...
> > I think man ipfw should say something like:
> > 
> > when nothing is listening on the port then the search terminates
> > 
> > when something is listening on the port then the search continues from
> > the same rule.
> 
> as far as ipfw is concerned, the search terminates. it is up to
> the userland app to reinject the packet, and it might well not
> do so if the packet should be processed differntly.
> so i believe the ipfw manpage is correct.
> if you want to add a reference to the divert manpage feel free to do so,
> something like
> 
> 	for more details on the operation of divers sockets see
> 	divert(4)
> 
> cheers
> luigi

Tanks, if you say its correct then i'm happy

-- 
Alex



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