All of lore.kernel.org
 help / color / mirror / Atom feed
* Time Patch and Kernel 2.6.10
@ 2005-01-14 14:02 Michael Milvich
  0 siblings, 0 replies; only message in thread
From: Michael Milvich @ 2005-01-14 14:02 UTC (permalink / raw)
  To: netfilter

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-14 14:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-14 14:02 Time Patch and Kernel 2.6.10 Michael Milvich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.