Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 15:30:16 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Alex de Kruijff <freebsd@akruijff.dds.nl>
Cc:        ipfw@freebsd.org
Subject:   Re: error in man ipfw / divert
Message-ID:  <20050721153016.A87676@xorpc.icir.org>
In-Reply-To: <20050721214242.GA2201@Alex.lan>; from freebsd@akruijff.dds.nl on Thu, Jul 21, 2005 at 11:42:42PM %2B0200
References:  <20050721214242.GA2201@Alex.lan>

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





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