Time Patch and Kernel 2.6.10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo,

I want to update my firewall from kernel 2.4 to 2.6.
When testing the new system the time patch doesn't work correctly. I have the following problems:


The option --timestart doesn't work. I can set any time for the hour highter then zero and iptables will block them. The timestop option works correctly.

#This works
iptables -A INPUT -m time --timestart 00:00/ --timestop 10:00 --days Thu,Fri -j DROP
#but if I set the timestart to/
iptables -A INPUT -m time --timestart 01:00/ --timestop 10:00 --days Thu,Fri -j DROP
#everything will be blocked
/
The other Problem is the option days: if I set only one day it doesn' t work.


#This will block all
iptables -A INPUT -m time --timestart 00:00/ --timestop 10:00 --days Fri -j DROP/


#This will work
iptables -A INPUT -m time --timestart 00:00/ --timestop 10:00 --days Thu,Fri -j DROP/


Now my question is if the time patch could not work with kernel 2.6 or if I am doing something wrong.

Thanks for help

Michael



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux