Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 99 17:47:33 +0000 (GMT)
From:      dwmalone@maths.tcd.ie
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/9603: Unclear line in ipfw man page.
Message-ID:  <9901211747.aa56895@gosset.maths.tcd.ie>

next in thread | raw e-mail | index | archive | help

>Number:         9603
>Category:       docs
>Synopsis:       Unclear line in ipfw man page.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 21 09:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     David Malone
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
School of Mathematics, Trinity College, Dublin.
>Environment:

	2.2.8-STABLE

>Description:

The ipfw(8) man page says:

     If a rule is added without a number, it is numbered 100 higher than the
     previous rule. If the highest defined rule number is greater than 65534,
     new rules are appended to the last rule.

This suggests that if you add a rule numbered 800, then one numbered 100
and then add one with no number, that the unnumbered one will end up with
number 200. Infact it ends up with number 900.

>How-To-Repeat:

	ipfw 800 add count from any to any
	ipfw 200 add count from any to any
	ipfw add count from any to any
	ipfw show

>Fix:
	
The man page should probably be amended to say:

     If a rule is added without a number, it is numbered 100 higher than the
     highest numbered existing rule. If the highest defined rule number is
     greater than 65534, new rules are appended to the last rule.

This seems to be the same in -CURRENT.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message



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