- 论坛徽章:
- 0
|
time可以在iptables1.3.8正常工作,我的内核是2.6.18。
debian:/home/bin# modinfo ipt_time
filename: /lib/modules/2.6.18.20071205/kernel/net/ipv4/netfilter/ipt_time.ko
author: Fabrice MARIE <fabrice@netfilter.org>
description: Match arrival timestamp/date
license: GPL
vermagic: 2.6.18.20071205 preempt mod_unload 386 REGPARM gcc-4.1
depends: x_tables
debian:/home/bin# iptables -m time -h
iptables v1.3.8
TIME v1.3.8 options:
[ --timestart value ] [ --timestop value] [ --days listofdays ] [ --datestart value ] [ --datestop value ]
timestart value : HH:MM (default 00:00)
timestop value : HH:MM (default 23:59)
Note: daylight savings time changes are not tracked
listofdays value: a list of days to apply
from Mon,Tue,Wed,Thu,Fri,Sat,Sun
Coma speparated, no space, case sensitive.
Defaults to all days.
datestart value : YYYY[:MM[ D[:hh[:mm[:ss]]]]]
If any of month, day, hour, minute or second is
not specified, then defaults to their smallest
1900 <= YYYY < 2037
1 <= MM <= 12
1 <= DD <= 31
0 <= hh <= 23
0 <= mm <= 59
0 <= ss <= 59
datestop value : YYYY[:MM[ D[:hh[:mm[:ss]]]]]
If the whole option is ommited, default to never stop
If any of month, day, hour, minute or second is
not specified, then default to their smallest |
|