From: Fabrice MARIE <fabrice@netfilter.org>
To: Krzysztof Oledzki <olenf@ans.pl>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: ipt_time fixes (resend, sorry)
Date: Tue, 15 Feb 2005 23:23:08 +0800 [thread overview]
Message-ID: <200502152323.11942.fabrice@netfilter.org> (raw)
In-Reply-To: <Pine.LNX.4.62.0502150219100.17929@bizon.gios.gov.pl>
Hello,
On Tuesday 15 February 2005 09:20, Krzysztof Oledzki wrote:
> Any progress? ;-)
Yep. Sorry for the delay. The patch looks alright although I didn't test it.
As for the rest of the thread, right now like Brad mentioned, you need
2 rules to match the time period:
> To match 20:00 - 4:00 you currently need 2 rules:
> 1) match 20:00 - 23:59
> 2) match 0:00 - 4:00
> What I'm proposing is to allow this to be reduced to one rule.
The cleanest way to solve that in my opinion is to implement
the negative form of time match, in other words, to allow the usage
of the negative option (!) in the time match which is right now not allowed.
It shouldn't be very straight forward. On the other hand, this will require an additional
variable in the time structure passed from userspace to kernelspace,
and this would break binary compatibility with previously built iptables userpace
programs. But if you ask me, patches on extensions like ipt_time shouldn't bother
too much about backward compatibility headaches, since they are not shipped
in the kernel by default (and I guess never will). Backward compatibility for
standard-kernel-modules is important though.
Sorry again for the delay,
Have a nice day,
Fabrice.
--
"Silly hacker, root is for administrators"
-Unknown
next prev parent reply other threads:[~2005-02-15 15:23 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-14 14:04 ipt_time fixes (resend, sorry) Krzysztof Oledzki
2005-01-14 14:37 ` Bill Rugolsky Jr.
2005-01-14 14:48 ` Krzysztof Oledzki
2005-01-14 15:32 ` Samuel Jean
2005-01-14 15:24 ` Krzysztof Oledzki
2005-01-14 16:27 ` Brad Fisher
2005-01-14 16:35 ` Brad Fisher
2005-01-20 13:40 ` Krzysztof Oledzki
2005-01-20 16:35 ` Brad Fisher
2005-01-20 17:18 ` Krzysztof Oledzki
2005-01-20 18:33 ` Samuel Jean
2005-01-20 18:45 ` Brad Fisher
2005-01-20 22:54 ` Krzysztof Oledzki
2005-01-21 0:23 ` Samuel Jean
2005-02-01 12:06 ` Harald Welte
2005-02-01 16:52 ` Krzysztof Oledzki
2005-02-15 0:57 ` Harald Welte
2005-04-05 8:18 ` Krzysztof Oledzki
2005-04-10 20:26 ` Harald Welte
2005-04-12 18:45 ` Krzysztof Oledzki
2005-01-14 22:47 ` Samuel Jean
[not found] ` <200502030010.47260.fabrice.marie@fma-rms.com>
[not found] ` <Pine.LNX.4.62.0502150219100.17929@bizon.gios.gov.pl>
2005-02-15 15:23 ` Fabrice MARIE [this message]
2005-02-15 15:58 ` Krzysztof Oledzki
2005-02-16 15:24 ` Fabrice MARIE
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=200502152323.11942.fabrice@netfilter.org \
--to=fabrice@netfilter.org \
--cc=netfilter-devel@lists.netfilter.org \
--cc=olenf@ans.pl \
/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 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.