From owner-freebsd-doc Thu Jan 21 09:50:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA03338 for freebsd-doc-outgoing; Thu, 21 Jan 1999 09:50:06 -0800 (PST) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA03258 for ; Thu, 21 Jan 1999 09:50:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA09202; Thu, 21 Jan 1999 09:50:01 -0800 (PST) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA03095 for ; Thu, 21 Jan 1999 09:47:50 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from gosset.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 21 Jan 99 17:47:33 +0000 (GMT) Message-Id: <9901211747.aa56895@gosset.maths.tcd.ie> Date: Thu, 21 Jan 99 17:47:33 +0000 (GMT) From: dwmalone@maths.tcd.ie Reply-To: dwmalone@maths.tcd.ie To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/9603: Unclear line in ipfw man page. Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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