error in man ipfw / divert

Luigi Rizzo rizzo at
Thu Jul 21 22:30:25 GMT 2005

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


More information about the freebsd-ipfw mailing list