(Note: The following was written before NoCatAuth existed)
Captive portals allow you to leverage a common browser as a secure authentication device. They also have the potential to allow you to do everything securely via SSL and IPSec and setup per user quality of service rules, and still maintain an open network. If you are curious about why you might want to install a captive portal please see WhyCaptivePortal. You can also see the beginning of our software requirements process at CaptivePortalDefinition.

Captive portals are becoming a popular way for SMS/BSN vendors to provide user authentication and IP flow management (basically traffic shaping and bandwidth control) without a required client application. They work by forcing un-authenticated users to a web page, once you have "captured them" this way by allowing the web page to interact with the router/firewall you can completely control their access.

As far as I am aware no OpenSource software has ever been developed to do this and plan to write this software as part of ThePlan.

Status:

Assumptions:

Usage Flow:

Comments and Thoughts:


-- DennyHalim


I think that this is all relatively straight forward to implement. It'll basically just be a matter of setting up the user database, and some web scripting to interact with the server to change system settings. The reason for a central user database (instead of sticking with the autonomous system model we use elsewhere) is that it makes authenticated roaming possible and also moves the user database (really the only important data that the portals will store) to a more reliable distributed model. We'll see if it's really as easy as all that ... :)

Why bother with this? Because I want to avoid the tragedy of the commons. If we just open up our networks sooner or later people will start to abuse it because they didn't work to set it up and they don't know the people that did. I want this to be an open network by choice rather then because we don't have the ability to control it. The time will come when we're going to be forced to control it or the network will die from abuse.

Why do something like this instead of PPPOE, IPSec or Authenticated DHCP?

-- AdamShand


Additional note on potential hardware: FreeGeek has lots of old 486 boxes I bet they would be happy to give by the dozens to act as routers or hubs. (Would need to be router-on-a-floppy or other tiny linux, I suppose, as most large, working hard drives they have, they use.) -JonGracie


Btw, I would assume that NoCatAuth is now a valid system for such a captive portal, is it ?... Maybe a question of the time this was written ? -OlivierBerger

Are you planning on using Radius?


I just found WiCap, a free self-described "captive portal that doesn't suck"

I haven't messed with NoCatAuth, but the authors of WiCap are describing their system as being like NoCat except easier to configure. It supports OpenBSD, and from looking at it quickly, it appears it might be the only OS it supports. That's fine with me. I love OpenBSD.

http://www.geekspeed.net/wicap/ <- i think this is dead link try this: http://www.shmoo.com/~bmc/software/wicap/announce.html

--ax0n


hi i'm trying to set up nocatauth on openbsd pc and i've to say that's a mess to configure ! took a look on wicap but the manual is absolutely non-existent i'm beginning to despair anyone succeed to set up and run the 2 modules of nocat on 3.4 openbsd ? [CategoryDocumentation]

--bruno

bruno, if you check this.. a better place to ask this question would be to the General Mailing list. See http://lists.personaltelco.net/

AaronBaer


For those looking for a Captive Portal for OpenBSD ~3.5...I got fed up and wrote one, I am calling it WiCap-PHP because it is like WiCap but is actually supported and documented...Search the list for more information. You can also email me and I will tell you all about it. WiCap-PHP has a page on this WIKI and is where all updates will be posted.

CalebPhillips


Isn't there something available that just work? NoCat does not work. It's hell to get setup, then you get it all working and when you try to log in, it redirects back to the login screen in an endless loop.

m0n0wall works great! Radius and everything. But it does not work as a wireless access point. It also requires the whole network to be on NAT.


You might want to have a look at NetLogon. It's a captive portal used at several universities in Sweden. GPL and all. See http://ceres.unit.liu.se/netlogon-devel/


Or you can try myWIFIzone captive portal services. Runs on any Win2K and XP machine on your WLAN for a monthly charge. Free while they are in Beta test phase. see http://www.mywifizone.com/news.asp [CategoryDocumentation]


AmazingPorts will give you a simple to install, free Captive Portal solution for home use - just download, burn CD and install. It handleds QoS on a per service/user level - so you can ensure that your guests don't trash your bandwidth. AmazingPorts also implements Service Oriented Provisioning meaning that you can define services on a granular level not only "internet on/off". Good luck Jan E ( AmazingPorts team)


For Windows hotspot software, try FirstSpot


For Windows freeware, including the ability to block bad/inappropriate sites and time of day use restriction, try DNS Redirector