[ previous ] [ next ] [ threads ]
 From:  Michael Sierchio <kudzu at tenebras dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] Stop traffic at certain hour.
 Date:  Wed, 07 Sep 2005 13:36:49 -0700
Matt Groener wrote:

> You'd still need to program the functionality for time-based rule
> insertion/deletion (not trivial), but at least to capture cron
> information across reboots should be easy.

It is trivial in ipfw -- just put the block rule in a set, and
enable/disable the set at appropriate times.  Set operations
are atomic, including switching sets.