From owner-freebsd-questions Fri Jun 14 13:43:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sage-one.net (adsl-65-71-135-138.dsl.crchtx.swbell.net [65.71.135.138]) by hub.freebsd.org (Postfix) with ESMTP id 5537737B40F for ; Fri, 14 Jun 2002 13:43:03 -0700 (PDT) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g5EKg9E59271; Fri, 14 Jun 2002 15:42:09 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020614154208.01195a98@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 14 Jun 2002 15:42:08 -0500 To: Anshuman Kanwar , From: "Jack L. Stone" Subject: Re: comments in firewall rules In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 At 01:20 PM 6.14.2002 -0700, Anshuman Kanwar wrote: >Hi all, > >I have a lot of frequently changing rules in a rc.firewall.my file. After >every update I run /etc/rc.firewall to flush out the old rules and apply >the new ruleset through ipfw. (This works because >firewall_type=rc.firewall.my in /etc/rc.conf). > >My question is this: > >Can I somehow put comments in the firewall rules file rc.fiirewall.my (so >that I can keep track of the version and see what rule does what)? > >Thanks for any responses. >-ansh. > Sure, you can put comments in there, either right above, below or to the right depending on your desire. # a comment 01000 this is a FW rule # a comment # a comment ....assuming that is what you meant... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message