From nobody@FreeBSD.ORG Mon Apr  5 10:15:05 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 7CC1215581; Mon,  5 Apr 1999 10:14:56 -0700 (PDT)
Message-Id: <19990405171456.7CC1215581@hub.freebsd.org>
Date: Mon,  5 Apr 1999 10:14:56 -0700 (PDT)
From: mvh@ix.netcom.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: rc.firewall external file specification too limiting
X-Send-Pr-Version: www-1.0

>Number:         10964
>Category:       misc
>Synopsis:       rc.firewall external file specification too limiting
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr  5 10:20:00 PDT 1999
>Closed-Date:    Fri Jun 4 07:43:23 PDT 1999
>Last-Modified:  Fri Jun  4 07:56:02 PDT 1999
>Originator:     Mike Harding
>Release:        3.1 Stable
>Organization:
stamps.com
>Environment:
FreeBSD netcom1.netcom.com 3.1-STABLE FreeBSD 3.1-STABLE #0: Tue Mar 30 18:28:29 PST 1999     mvh@netcom1.netcom.com:/usr/src/sys/compile/MIKE  i386

>Description:
Current rc.firewall file allows a filename to be specified rather
than the 'built-in' types.  The specified file is passed to the
$IPFS command.  This does not allow simple shell substitutions in the
file and precludes pasting old modified rc.firewall contents in such
a file.
>How-To-Repeat:
Examine /etc/rc.firewall.

>Fix:
Execute the file, rather than running $fwcmd ${firewall_type}.  This
would allow any operation, not just filtering rules to the firewall,
and would be compatible with the rest of the rc.firewall file.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Fri Jun 4 07:43:23 PDT 1999 
State-Changed-Why:  
You can specify your own script by customizing 
``firewall_script'' variable in /etc/rc.conf. 

Optionally, ``ipfw'' has a preprocessor functionality. 
Refer to the ipfw(8) manpage for details. 
>Unformatted:
