中国青基会

查看完整版本: iptables的time 模块不生效

zcx 2008-8-29 13:37

iptables的time 模块不生效

系统版本:
[root@as4u3 ~]# uname -a
Linux as4u3 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386 GNU/Linux

iptables 版本:
[root@as4u3 ~]# iptables -V
iptables v1.2.11

编译time模块使用的patch版本:
patch-o-matic-ng-20040621

加的iptables规则如下:
iptables -I INPUT -p tcp --dport 22 -m time --timestart 12:40 --timestop 13:03 --days Mon,Tue,Wed,Thu,Fri,Sat -j DROP

但是到了12:40的时候我还是能正常 ssh连接这个机器,请高手指点!
页: [1]
查看完整版本: iptables的time 模块不生效
Baidu