From owner-freebsd-doc@FreeBSD.ORG Fri Sep 29 04:02:31 2006 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA02816A407 for ; Fri, 29 Sep 2006 04:02:31 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from sccrmhc15.comcast.net (sccrmhc15.comcast.net [63.240.77.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id A50CC43D66 for ; Fri, 29 Sep 2006 04:02:30 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from gimpy (c-24-118-173-219.hsd1.mn.comcast.net[24.118.173.219]) by comcast.net (sccrmhc15) with ESMTP id <2006092904022901500imn3de>; Fri, 29 Sep 2006 04:02:29 +0000 From: Josh Paetzel To: doc@freebsd.org Date: Thu, 28 Sep 2006 23:00:53 +0000 User-Agent: KMail/1.9.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609282300.53946.josh@tcbug.org> Cc: Subject: IPFW manpage suggestion X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 04:02:32 -0000 I have a friend who's converting from linux to FreeBSD. He's trying to set up ipfw and was reading through the ipfw manpage. He asked me some questions about examples in the manpage and while I think the manpage is very clear it is perhaps a poor example. As an example, an address specified as 1.2.3.4/24{128,35-55,89} will match the following IP addresses: 1.2.3.128, 1.2.3.35 to 1.2.3.55, 1.2.3.89 This is perfectly clear and works exactly as stated but the choice of 1.2.3.4/24 as a network number isn't the best in my opinion. His question was whether the example would match 1.2.3.4. It doesn't of course but perhaps the example would make more sense as: 1.2.3.0/24{128,35-55,89} This also opens to door to what happens if you do something like: 1.2.3.15/25{215-220} I regret to say I don't have a box I can actually test that on though. There are other places in the manpage where a network number would make more sense than an IP but the one I pointed out seems to be the most glaring. I'm willing to do the grunt work if it's determined it's worth changing. -- Thanks, Josh Paetzel