Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 11:12:48 -0700 (PDT)
From:      Patrick Thomas <root@utility.clubscholarship.com>
To:        <freebsd-questions@freebsd.org>
Subject:   two ipfw questions...
Message-ID:  <20020531110825.I18408-100000@utility.clubscholarship.com>

next in thread | raw e-mail | index | archive | help

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




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