From owner-freebsd-current@FreeBSD.ORG Thu Oct 14 02:58:29 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 7336616A4CE for ; Thu, 14 Oct 2004 02:58:29 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1811E43D1D for ; Thu, 14 Oct 2004 02:58:29 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by mproxy.gmail.com with SMTP id 74so680390rnk for ; Wed, 13 Oct 2004 19:58:28 -0700 (PDT) Received: by 10.38.152.63 with SMTP id z63mr2718256rnd; Wed, 13 Oct 2004 19:58:28 -0700 (PDT) Received: by 10.38.13.37 with HTTP; Wed, 13 Oct 2004 19:58:27 -0700 (PDT) Message-ID: <84dead720410131958562f67eb@mail.gmail.com> Date: Thu, 14 Oct 2004 02:58:27 +0000 From: Joseph Koshy To: Putinas Piliponis In-Reply-To: <217202CB5FF8AE439E263CE3D48ECB50757DC3@honda.int.hansa.lt> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <217202CB5FF8AE439E263CE3D48ECB50757DC3@honda.int.hansa.lt> cc: current@freebsd.org Subject: Re: Ipfw rules ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joseph Koshy 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 02:58:29 -0000 > 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 ? Moving the 'MAC' predicate to after the 'in' predicate seems to make the rule print as entered: # ipfw add 4000 count ip from 10.127.0.2 to any in mac any \ 00:50:56:e4:79:6c via rl0 04000 count ip from 10.127.0.2 to any in MAC any 00:50:56:e4:79:6c via rl0