Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ramin Dousti <ramin@cannon.eng.us.uu.net>
To: Michael Gale <michael@bluesuperman.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Performance Monitoring
Date: Fri, 9 Jan 2004 19:04:19 -0500	[thread overview]
Message-ID: <20040110000419.GA25191@cannon.eng.us.uu.net> (raw)
In-Reply-To: <20040105230233.27d84a49.michael@bluesuperman.com>

On Mon, Jan 05, 2004 at 11:02:33PM -0700, Michael Gale wrote:

> 
> Hello,
> 
> 	Even if you have a script that creates the chains for each IP .. if you
> use all the IP's from .1 to .250. Then a packet will have to be compared
> to 249 chains before if matches a chain if it is from or to IP .250.

One can come up with a btree which should reduce the worst case lookup to a max
of 8 lookups for a /24.

Ramin

> 
> This is not good.
> 
> Michael.


  reply	other threads:[~2004-01-10  0:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-02 22:03 Performance Monitoring Barry Rooney
2004-01-05 22:27 ` Alex Satrapa
2004-01-06  1:57   ` Lawrence Tang
2004-01-06  4:04     ` Alex Satrapa
2004-01-06  3:38       ` bino
2004-01-06  5:58         ` Michael Gale
2004-01-06  6:01         ` Michael Gale
2004-01-06  6:02         ` Michael Gale
2004-01-10  0:04           ` Ramin Dousti [this message]
2004-01-10  8:54             ` Thhoep
2004-01-11 23:26             ` Alex Satrapa
2004-01-11 23:32               ` Antony Stone

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=20040110000419.GA25191@cannon.eng.us.uu.net \
    --to=ramin@cannon.eng.us.uu.net \
    --cc=michael@bluesuperman.com \
    --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