From: Luciano Coelho <luciano.coelho@nokia.com>
To: "netfilter-devel@vger.kernel.org" <netfilter-devel@vger.kernel.org>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"jengelh@medozas.de" <jengelh@medozas.de>,
"kaber@trash.net" <kaber@trash.net>,
Timo Teras <timo.teras@iki.fi>
Subject: Re: [PATCH v3] netfilter: Xtables: idletimer target implementation
Date: Wed, 09 Jun 2010 16:00:51 +0300 [thread overview]
Message-ID: <1276088452.31892.50.camel@chilepepper> (raw)
In-Reply-To: <1275592445-15555-1-git-send-email-luciano.coelho@nokia.com>
Hello,
On Thu, 2010-06-03 at 21:14 +0200, Coelho Luciano (Nokia-D/Helsinki)
wrote:
> From: Luciano Coelho <luciano.coelho@nokia.com>
>
> This patch implements an idletimer Xtables target that can be used to
> identify when interfaces have been idle for a certain period of time.
>
> Timers are identified by labels and are created when a rule is set with a new
> label. The rules also take a timeout value (in seconds) as an option. If
> more than one rule uses the same timer label, the timer will be restarted
> whenever any of the rules get a hit.
>
> One entry for each timer is created in sysfs. This attribute contains the
> timer remaining for the timer to expire. The attributes are located under
> the xt_idletimer class:
>
> /sys/class/xt_idletimer/timers/<label>
>
> When the timer expires, the target module sends a sysfs notification to the
> userspace, which can then decide what to do (eg. disconnect to save power).
>
> Cc: Timo Teras <timo.teras@iki.fi>
> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
> ---
> v2: Fixed according to Jan's comments
> v3: Changed to a device class in the virtual bus in sysfs
> Removed unnecessary attribute group
> Fixed missing deallocation in some error cases
Does this patch look fine now or is there something more I need to do to
get it applied?
If it's okay already, are you waiting for the merge window to close
before applying it?
Sorry to bother you with this, but we're depending on this feature and I
need to know if there's something more to be doen.
I'll provide the extension for the iptables tool pretty soon.
--
Cheers,
Luca.
next prev parent reply other threads:[~2010-06-09 13:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-03 19:14 [PATCH v3] netfilter: Xtables: idletimer target implementation luciano.coelho
2010-06-09 13:00 ` Luciano Coelho [this message]
2010-06-09 13:45 ` Patrick McHardy
2010-06-09 15:11 ` Luciano Coelho
2010-06-09 15:18 ` Jan Engelhardt
2010-06-09 17:48 ` Luciano Coelho
2010-06-09 18:42 ` Luciano Coelho
2010-06-09 21:00 ` Luciano Coelho
2010-06-09 21:05 ` Jan Engelhardt
2010-06-09 21:28 ` Luciano Coelho
2010-06-10 10:07 ` Patrick McHardy
2010-06-10 12:42 ` Luciano Coelho
2010-06-10 13:32 ` Luciano Coelho
2010-06-10 15:55 ` Jan Engelhardt
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=1276088452.31892.50.camel@chilepepper \
--to=luciano.coelho@nokia.com \
--cc=jengelh@medozas.de \
--cc=kaber@trash.net \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=timo.teras@iki.fi \
/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