Re: IPFW Time-Range

2006-07-29 Thread Pelekh Volodya

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.


  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IPFW Time-Range

2006-07-22 Thread Pelekh Volodya

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

Sorry for my English
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"