From owner-freebsd-stable@FreeBSD.ORG Fri Dec 22 02:59:48 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D56C16A403 for ; Fri, 22 Dec 2006 02:59:48 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id EF32F13C447 for ; Fri, 22 Dec 2006 02:59:46 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with ESMTP id NAA12735; Fri, 22 Dec 2006 13:45:15 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 22 Dec 2006 13:45:14 +1100 (EST) From: Ian Smith To: Scott Ullrich In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Cc: stable@freebsd.org, =?ISO-8859-1?Q?V=E1clav_Haisman?= , Kevin Downey Subject: Re: Duplicate IPFW rules X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Dec 2006 02:59:48 -0000 On Thu, 21 Dec 2006, Scott Ullrich wrote: > On 12/21/06, Václav Haisman wrote: > > Oh, I did not realise this use. Hmm...still, I thought that this is what > > tables are for :) > > Yep, thats another usage for tables. But tables have not been around > for very long either. Considering that I have used IPFW since FreeBSD > version 2 or something or another these fancy features have not always > been around :) Perhaps worth noting that on FreeBSD 2 (and iirc, 3) 'ipfw delete $rule' only deleted the first of any set of same-numbered rules, ie you had to issue multiple delete commands. This behaviour changed somewhere in 4.x to a single delete command removing all same-numbered rules; I had to modify several scripts at the time to accomodate that (sensible) change. Cheers, Ian