From owner-freebsd-questions Fri May 31 11:18:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 74CBA37B408 for ; Fri, 31 May 2002 11:18:27 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g4VICmn07850 for ; Fri, 31 May 2002 11:12:48 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Fri, 31 May 2002 11:12:48 -0700 (PDT) From: Patrick Thomas To: Subject: two ipfw questions... Message-ID: <20020531110825.I18408-100000@utility.clubscholarship.com> 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 1) is there a way to set all counters to zero ? without reloading the ruleset, etc. - I just want to reset all the counters to zero on the first of each month... 2) is there a way to take your current, running ruleset and dump it to a file that can be used as a standalone shell script to set the rules at boot time? For instance, if you `ipfw show` you get: 00100 7750 1619098 allow udp from any 53 to 10.10.10.10 how can I output that to: ipfw add 00100 allow udp from any 53 to 10.10.10.10 ? thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message