All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Sebastien Tandel <standel@info.ucl.ac.be>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: bloom filter in netfilter?
Date: Tue, 20 Mar 2007 20:27:12 +0100	[thread overview]
Message-ID: <46003590.9070002@netfilter.org> (raw)
In-Reply-To: <46000DDF.70509@info.ucl.ac.be>

Sebastien Tandel wrote:
> Patrick McHardy wrote:
>> That wouldn't be a big problem in my opinion, you can freely tune the
>> probability.
> 
> In the specific case I was speaking about, you don't expect to find
> anything. Therefore, as Patrick says, if you tune the probability of
> false positives, you should not expect ones really often. If one occurs,
> of course, you have to verify it in the list.

But the case in which we don't expect to find anything is the worst 
case, eg. someone is generating trash traffic to stress the conntrack 
system. So this can be considered as a hardening technique. Anyway, we 
would need to evaluate the impact of such solution in terms of memory 
consumption (probably something from 4KB to 16KB) and extra CPU cycles 
due to hashing. Of course, previously we would have to get some numbers 
to know how bad is currently the worst case.

I have some experimental stuff on bloom filters at my people netfilter 
place that I needed for some works here at the university, it can't be 
used for any productive purposes but you could use it as a starting point.

-- 
The dawn of the fourth age of Linux firewalling is coming; a time of 
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris

  reply	other threads:[~2007-03-20 19:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20 16:37 [Fwd: Re: bloom filter in netfilter?] Sebastien Tandel
2007-03-20 19:27 ` Pablo Neira Ayuso [this message]
2007-03-20 21:41   ` bloom filter in netfilter? Sebastien Tandel
2007-03-21 12:45     ` Sebastien Tandel
2007-03-21 12:46   ` Sebastien Tandel
2007-03-21 15:00     ` Jozsef Kadlecsik
  -- strict thread matches above, loose matches on Subject: below --
2007-03-20 16:31 Robert Iakobashvili
2007-03-20 15:07 Sebastien Tandel
2007-03-20 15:20 ` Patrick McHardy
2007-03-20 15:25 ` Pablo Neira Ayuso
2007-03-20 15:26   ` Patrick McHardy
2007-03-20 15:34     ` Patrick Schaaf
2007-03-20 15:43       ` Patrick McHardy

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=46003590.9070002@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=standel@info.ucl.ac.be \
    /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.