Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 15:42:08 -0500
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        Anshuman Kanwar <akanwar@engineering.ucsb.edu>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: comments in firewall rules
Message-ID:  <3.0.5.32.20020614154208.01195a98@mail.sage-one.net>
In-Reply-To: <Pine.LNX.4.33.0206141318400.2668-100000@ecipc057.engr.ucsb .edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020614154208.01195a98>