Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2006 15:18:26 +0300
From:      Pelekh Volodya <vpeleh@gmail.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: IPFW Time-Range
Message-ID:  <44CB5212.6010105@gmail.com>
In-Reply-To: <20060722174034.GD22820@dan.emsphone.com>
References:  <44C24658.5060308@gmail.com> <20060722174034.GD22820@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you for answer

I try this
thanks

Dan Nelson wrote:
> In the last episode (Jul 22), Pelekh Volodya said:
>   
>> Hi
>> My name is Volodya, i'am from Ukraine
>> I have a little question,
>> do you plan to add time-range in ipfw?
>> Something like in Cisco
>> thanks
>> wait for answer
>>     
>
> One way to do what you want is to put your time-sensitive rules in a
> separate set:
>
>  ipfw add 500 set 1 reset ip from any to any dst-port 554 // block realaudio streams
>
> Then use cron to enable/disable them during your timerange:
>
>  0 8 * * * root ipfw set enable 1
>  0 18 * * * root ipfw set disable 1
>
> You can run "ipfw -S list" to see which sets are active at any time. 
> It would be nice to have this built into ipfw, though.
>
>   




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