NuFW documentation (SVN version)

SVN-trunk

Introduction

NuFW is a firewall based on NetFilter (http://www.netfilter.org) which authentificate users. It's composed of three parts:

This documentation only describes four parts: NuFW, NuAuth, libnuclient and nutcpc.

NuFW

NuFW is a very simple gateway. It runs in user-space but needs root privileges because it's connected directly to NetFilter using IPQ or Netfilter queue link.

NuFW is composed of three main parts:

NuAuth

NuAuth is the biggest and most important part of NuFW firewall:

Client

Libnuclient

Libnuclient is a library used by nuauth on client side to read active connection. The library is used by nutcpc client. Public API is defined in file nuclient.h.

To initialize the library, use:

NuAuth *session = NULL;
struct nuclient_error nuerror;
nu_client_global_init(&nuerror);
session = nu_client_init2(
           "hostname", "4129",
           NULL, NULL,
           &get_username, &get_password,  NULL,
           &nuerror);

nutcpc client

Nutcpc is the Linux and FreeBSD command line client.
Generated on Mon Oct 6 04:00:36 2008 for NuFW by  doxygen 1.4.7