All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Philipp Gühring" <mailinglists@futureware.at>
To: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: Table-based branching
Date: Mon, 5 Apr 2004 17:27:13 +0200	[thread overview]
Message-ID: <200404051727.13704.mailinglists@futureware.at> (raw)

Hi!

I am working on a scalable captive Portal Gateway software.
I have several huge networks (/20) that have to be managed individually per IP 
address.
For every IP adress I have to store in a table, whether that IP Address is 
allowed or not yet allowed.
When an IP address is allowed, it either has to be router or NATed, depending 
on the network address.

When an IP address is not allowed, all Traffic has to be redirected to the 
captive portal on the firewall.

My idea now is to have different rule tables for allowed and disallowed IP 
addresses, and special kernel module that branches into either rule table.
That module contains a large Bit-Array in kernel memory to store for every IP 
addresse whether it is allowed or disallowed.

Has anyone done that before (or something similar)?

Is it a bad idea to do it that way?

Many greetings,
Philipp Gühring

             reply	other threads:[~2004-04-05 15:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-05 15:27 Philipp Gühring [this message]
2004-04-05 15:37 ` Table-based branching KOVACS Krisztian
  -- strict thread matches above, loose matches on Subject: below --
2004-04-05 13:08 Philipp Gühring
2004-04-06  0:01 ` zhi wang

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=200404051727.13704.mailinglists@futureware.at \
    --to=mailinglists@futureware.at \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=pg@futureware.at \
    /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.