netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shannon Wynter <freman@fremnet.net>
To: netfilter-devel@vger.kernel.org
Subject: ipset suggestion, idle-timeout
Date: Mon, 21 Apr 2014 14:50:04 +1000	[thread overview]
Message-ID: <5354A37C.8080308@fremnet.net> (raw)

Greetings,

I would love to have an "idle timeout" for ipset

It would essentially work like the regular timeout, removing the entry 
from the set but only if no matches on the entry for the duration of the 
timeout

eg:
Add a match for 8.8.8.8 for 300 seconds.
If there is a match on 8.8.8.8 at 250 seconds then the timer is reset.
If there is no match on 8.8.8.8 for 300 then the entry is removed

I wouldn't mind having a look at this myself but don't really know the 
first thing about NF and I've already gotten lost in the source.

             reply	other threads:[~2014-04-21  4:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-21  4:50 Shannon Wynter [this message]
2014-04-21 19:25 ` ipset suggestion, idle-timeout Jozsef Kadlecsik
2014-04-22  2:25   ` Shannon Wynter

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=5354A37C.8080308@fremnet.net \
    --to=freman@fremnet.net \
    --cc=netfilter-devel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).