From owner-freebsd-ipfw Fri Sep 13 11:11: 6 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 ACE3437B405 for ; Fri, 13 Sep 2002 11:11:04 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id D93A343E77 for ; Fri, 13 Sep 2002 11:11:02 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: from iguana.icir.org (localhost [127.0.0.1]) by iguana.icir.org (8.12.3/8.11.3) with ESMTP id g8DIB2Ib013659; Fri, 13 Sep 2002 11:11:02 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g8DIB1Hj013658; Fri, 13 Sep 2002 11:11:01 -0700 (PDT) (envelope-from rizzo) Date: Fri, 13 Sep 2002 11:11:01 -0700 From: Luigi Rizzo To: "Daniel C. Sobral" Cc: ipfw@FreeBSD.ORG Subject: Re: ipfw2 and rc.firewall Message-ID: <20020913111101.A13603@iguana.icir.org> References: <3D81D03A.8050009@tcoip.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D81D03A.8050009@tcoip.com.br>; from dcs@tcoip.com.br on Fri, Sep 13, 2002 at 08:47:06AM -0300 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 On Fri, Sep 13, 2002 at 08:47:06AM -0300, Daniel C. Sobral wrote: ... > work fine under ipfw1. All we would need is someway to tell ipfw2 and > ipfw1 appart so that we can select between flush and the disabled set at > the beginning/end of rc.firewall. you can use some ipfw2-only feature e.g. firewall=ipfw1; ipfw set show 2> /dev/null || firewall=ipfw2 echo "You are using $firewall" cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message