From owner-freebsd-ipfw Sun Nov 17 10:45:14 2002 Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6499E37B401 for ; Sun, 17 Nov 2002 10:45:13 -0800 (PST) Received: from laptop.tenebras.com (laptop.tenebras.com [66.92.188.18]) by mx1.FreeBSD.org (Postfix) with SMTP id DDCA843E6E for ; Sun, 17 Nov 2002 10:45:12 -0800 (PST) (envelope-from kudzu@tenebras.com) Received: (qmail 16760 invoked from network); 17 Nov 2002 18:45:12 -0000 Received: from sapphire.tenebras.com (HELO tenebras.com) (192.168.188.241) by 0 with SMTP; 17 Nov 2002 18:45:12 -0000 Message-ID: <3DD7E3B8.2030905@tenebras.com> Date: Sun, 17 Nov 2002 10:45:12 -0800 From: Michael Sierchio User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en, fr-fr, ru MIME-Version: 1.0 To: Luigi Rizzo Cc: ipfw@FreeBSD.ORG Subject: Stateful rule logging behavior References: <200211130102.27773.john@jnielsen.net> <20021113003045.A35862@xorpc.icir.org> <3DD7D3CC.50701@tenebras.com> <20021117093955.A17750@xorpc.icir.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Of course, it is possible to get the desired behavior by writing two rules instead of one: $fw add count log tcp from $ssh_hosts to $prv_net ssh setup $fw add allow tcp from $ssh_hosts to $prv_net ssh setup keep-state Unless you can think of something more innocuous than 'count' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message