All of lore.kernel.org
 help / color / mirror / Atom feed
* Table-based branching
@ 2004-04-05 15:27 Philipp Gühring
  2004-04-05 15:37 ` KOVACS Krisztian
  0 siblings, 1 reply; 4+ messages in thread
From: Philipp Gühring @ 2004-04-05 15:27 UTC (permalink / raw)
  To: Netfilter Development Mailinglist

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Table-based branching
@ 2004-04-05 13:08 Philipp Gühring
  2004-04-06  0:01 ` zhi wang
  0 siblings, 1 reply; 4+ messages in thread
From: Philipp Gühring @ 2004-04-05 13:08 UTC (permalink / raw)
  To: Netfilter Development Mailinglist

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-06  0:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-05 15:27 Table-based branching Philipp Gühring
2004-04-05 15:37 ` 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

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.