From owner-freebsd-current Sun Apr 29 10:26:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 9B91F37B424 for ; Sun, 29 Apr 2001 10:26:23 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA08789; Sun, 29 Apr 2001 11:26:21 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA28217; Sun, 29 Apr 2001 11:26:21 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15084.20156.785173.734583@nomad.yogotech.com> Date: Sun, 29 Apr 2001 11:26:20 -0600 (MDT) To: "Andrey A. Chernov" Cc: current@FreeBSD.ORG Subject: Re: ipfw: several equal rules under same number bug In-Reply-To: <20010429063345.A48717@nagual.pp.ru> References: <20010429063345.A48717@nagual.pp.ru> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > How it can be possible? ipfw -a l: > > 07001 40 1680 deny tcp from any to any 7006 > 07001 0 0 deny tcp from any to any 7006 > 07001 0 0 deny tcp from any to any 7006 > > I use equal "ipfw add" several times from the script, but the rule number > was the same all times. I expect that rule is replaced, not added with > same number several times. > > Who is our ipfw guru at this moment? This is the way it's been since day one in ipfw. A rule is not an atomic entity, so you can have every rule in your entire list with the same number if you so desire. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message