All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ury N. Stankevich" <urykhy@gmail.com>
To: netfilter-devel@lists.netfilter.org
Subject: iplimit issues
Date: Sat, 20 Nov 2004 16:28:13 +0300	[thread overview]
Message-ID: <20041120162813.322af73a@elf> (raw)

hi list

i have question about iplimit module. as i understand it storing all sessions.. but conntrack also do that.

i think we can use conntrack capabilities to store sessions and extent ipt_state.c to take in account number of sessions.
but i see one problem:
current hash_conntrack implementation use src.u.all field..
so to count all connection from ip addressess range we need walk over all ip_conntrack_hash .. this can be quite long i think..

have anyone experiments with this approach ?
maybe we can simply change hash_conntrack to use only src_ip:dst_ip:protocol as hash key ?

-- 

             reply	other threads:[~2004-11-20 13:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-20 13:28 Ury N. Stankevich [this message]
2004-11-20 19:17 ` iplimit issues Pablo Neira

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=20041120162813.322af73a@elf \
    --to=urykhy@gmail.com \
    --cc=netfilter-devel@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 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.