error in man ipfw / divert

Alex de Kruijff akruijff at dds.nl
Fri Jul 22 00:02:06 GMT 2005


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


More information about the freebsd-ipfw mailing list