From: Eric Leblond <eric@inl.fr>
To: Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
Cc: netfilter@lists.netfilter.org
Subject: Re: Dynamic change of iptables (building Wi-Fi hotspot)
Date: Sun, 04 Jul 2004 23:26:46 +0200 [thread overview]
Message-ID: <1088976350.3357.19.camel@coati> (raw)
In-Reply-To: <Pine.LNX.4.58.0407042011460.3513@localhost.localdomain>
NuFW can be a solution to that problem (website : http://www.nufw.org).
NuFW is basically a authentication firewall suite : you can filter
access by user and not only by IP.
In your case you can use the following features of NuFW :
1. NuFW users are stored in a ldap tree
2. Users activities can stored in a SQL database (although the
existing syslog can be enough)
3. A mark corresponding to userid can be put on all packet coming
from user.
With 1, you can create users and store all needed information, they can
only goes through your gateway (for selected flows or all flows) if
their account is available.
With 2, you can determine when a user connects, so you're able to
determine their usage time.
With 3, you can account user traffic accuratly even if their IP change.
Some constraints though :
- NuFW requires a software client on user computers. But it is light
ones. UDP traffic is not yet manage by existing nufw client, but it
could if there's a need ;-)
- persistent connections (with long duration) can not directly be
stopped by nufw. Although it should be possible by using some tweaks
(send a paquet every N to nufw system for example).
BR,
> Hello everybody.
>
> I want to build a Wi-Fi hotspot. The linux box with wireless AP
> connected to it which provides internet access to people with Wi-Fi
> cards.
> 2) All traffic is redirected to tun interface, and some C program
> analyzies each packed and decides whether to pass them or block them
...
> will have to pass through this program and it must be written really
> good if I don't want to have problems.
--
Eric Leblond <eric@inl.fr>
INL
prev parent reply other threads:[~2004-07-04 21:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-04 16:33 Dynamic change of iptables (building Wi-Fi hotspot) Vladimir Mosgalin
2004-07-04 17:03 ` Antony Stone
2004-07-04 18:10 ` Vladimir Mosgalin
2004-07-04 21:26 ` Eric Leblond [this message]
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=1088976350.3357.19.camel@coati \
--to=eric@inl.fr \
--cc=mosgalin@VM10124.spb.edu \
--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 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.