From: Michael Milvich <mm@gmx.de>
To: netfilter@lists.netfilter.org
Subject: Time Patch and Kernel 2.6.10
Date: Fri, 14 Jan 2005 15:02:51 +0100 [thread overview]
Message-ID: <41E7D10B.1080004@gmx.de> (raw)
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
reply other threads:[~2005-01-14 14:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41E7D10B.1080004@gmx.de \
--to=mm@gmx.de \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox