netfilter list is kinda slow...
On Sep 17 2007 17:01, Jan Engelhardt wrote:
>>> + u_int32_t monthdays_match;
>>> + u_int16_t time_start;
>>> + u_int16_t time_stop;
>>> + u_int8_t weekdays_match;
>>
>>No inversion?
>
>[...Length explanation about set theory...]
Actually, there is also a technical limitation. There are
three evil
cases the user could do:
(1) ! --timestart 05:00 --timestop 07:00
(2) --timestart 05:00 ! --timestop 07:00
(3) ! --timestart 05:00 ! --timestop 07:00
and in all of these, we would have to record that ! was
given and
fix up the start and stop times in time_final(). Thay may
work,
but cases 2 and 3 look so odd that I am not sure I should do
that.
I would really leave it as is now and assume the user is
smart
enough to write
--timestart 07:00 --timestop 05:00
if he wanted to match everything but the morning hours
!(--timestart 05:00 --timestop 07:00)
thanks,
Jan
|