From owner-freebsd-current@FreeBSD.ORG Thu Oct 14 01:24:03 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A844216A4D1 for ; Thu, 14 Oct 2004 01:24:03 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A2ED43D2D for ; Thu, 14 Oct 2004 01:24:01 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 81D9872DD4; Wed, 13 Oct 2004 18:24:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 7C58B72DCB; Wed, 13 Oct 2004 18:24:01 -0700 (PDT) Date: Wed, 13 Oct 2004 18:24:01 -0700 (PDT) From: Doug White To: Putinas Piliponis In-Reply-To: <217202CB5FF8AE439E263CE3D48ECB50757DC3@honda.int.hansa.lt> Message-ID: <20041013182335.R55834@carver.gumbysoft.com> References: <217202CB5FF8AE439E263CE3D48ECB50757DC3@honda.int.hansa.lt> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: Ipfw rules ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 01:24:03 -0000 On Wed, 13 Oct 2004, Putinas Piliponis wrote: > Hello, > I have a ipfw rule: > add 40000 count ip from 10.127.0.2 to any MAC any 00:50:56:e4:79:6c in > via lnc0 > But ipfw shows it like: > 40000 0 0 count ip from 10.127.0.2 MAC any 00:50:56:e4:79:6c any > in via lnc0 > > Is ipfw really correctly showing the rule ? The two zeros are hit counts. 'ipfw list' is probably what you're looking for. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org