From owner-freebsd-security Mon Jul 15 7:45:54 2002 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2B7F37B400 for ; Mon, 15 Jul 2002 07:45:51 -0700 (PDT) Received: from nox.cx (nox.cx [216.12.18.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A26243E4A for ; Mon, 15 Jul 2002 07:45:51 -0700 (PDT) (envelope-from zakj@nox.cx) Received: (qmail 45512 invoked by uid 1000); 15 Jul 2002 14:46:07 -0000 Date: Mon, 15 Jul 2002 10:46:07 -0400 From: Zak Johnson To: security@FreeBSD.ORG Subject: Re: ipfw and keep-state Message-ID: <20020715144607.GA45492@opiate.nox.cx> Mail-Followup-To: security@FreeBSD.ORG References: <3D32D849.E3D8F2BE@rt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D32D849.E3D8F2BE@rt.ru> User-Agent: Mutt/1.4i Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Jul 15, 2002 at 06:12:25PM +0400, Dmitry S. Rzhavin wrote: > Or, in other words, I want to pre-auth some packet with rile 10 to > check it later. Then, I decide to drop it. > But ipfw creates dynamic rule "inet <-> ip1" and passes this > session. I think this is not good. Why does ipfw works this way? It sounds as though you're used to IPFilter, in which the last-matched rule wins. ipfw stops processing rules after the first match. See http://coombs.anu.edu.au/~avalon/ipfilfaq.html#III-2 . -Zak To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message