From owner-freebsd-questions Wed Jul 11 7:10:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from camel.kdsi.net (camel.kdsi.net [206.103.113.218]) by hub.freebsd.org (Postfix) with ESMTP id 9E3BC37B403 for ; Wed, 11 Jul 2001 07:10:41 -0700 (PDT) (envelope-from tony@camel.kdsi.net) Received: from camel.kdsi.net (leepcD-253.sub-d.lee.net [208.205.127.253]) (authenticated (0 bits)) by camel.kdsi.net (8.12.0.Beta10/8.12.0.Beta10) with ESMTP id f6BEWtkj019232; Wed, 11 Jul 2001 09:32:56 -0500 (CDT) Message-ID: <3B4C5E25.9552ABBF@camel.kdsi.net> Date: Wed, 11 Jul 2001 09:09:41 -0500 From: Tony Wells X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Murray Taylor Cc: questions@FreeBSD.ORG Subject: Re: ipfw and #comments References: <02ed01c109e6$3f01dfa0$2a7627cb@pc99101401.bytecraft.au.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If you look at the example /etc/rc.firewall file, it's actually a shell script. You can put comments in a script that performs the ipfw commands. If you make your firewall commands permanent by adding the pertinent lines to /etc/rc.conf, it will expect the file to be a shell script anyway. Once again, look at /etc/rc.firewall for guidance. Murray Taylor wrote: > > Has anyone looked into allowing # comments in the > rules file that can be fed into ipfw ?? > > It would be great if one could intersperse the > rule and command lines with comments in the file > given to ipfw via > > ipfw /etc/rulefile > > I cant yet as I an up to my whatzit in alligators as we > relocate the business, but its an idea.... > > Murray Taylor > Project Manager > Bytecraft Systems Pty Ltd > ph: +61 3 9587 2555 > Fax: +61 3 9587 1614 > Email: taylorm@bytecraftsystems.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message