WiCap-PHP
["WiCap-PHP"] is a very simple captive portal for OpenBSD (tested on 3.5 and 3.7). Currently it is maintained by CalebPhillips.
As of November, 2005, the most recent version is delta. I am making an interim release which contains some bug fixes and will be the last stable release before epsilon.
Features
- Written in 'C' for speed and portability
- (Experimental) Support for statistics-collection using RRDTool
- Inspects the ARP table to evict inactive/bad leases
- Intended to work with a change-rooted Apache
Download
- Delta (Interim Release)
[http://www.smallwhitecube.com/toil/programming/files/php/wicap-php.delta.interim.tar.gz wicap-php.delta.interim.tar.gz]
[http://www.smallwhitecube.com/toil/programming/files/php/wicap-php.delta.interim.tar.gz.md5 wicap-php.delta.interim.tar.gz.md5]
Old Versions
- Delta
[http://www.smallwhitecube.com/toil/programming/files/php/wicap-php.delta.tar.gz wicap-php.delta.tar.gz]
[http://www.smallwhitecube.com/toil/programming/files/php/wicap-php.delta.tar.gz.md5 wicap-php.delta.tar.gz.md5]
- Gamma
[http://www.smallwhitecube.com/toil/programming/files/php/wicap-php.gamma.tar.gz wicap-php.gamma.tar.gz]
[http://www.smallwhitecube.com/toil/programming/files/php/wicap-php.gamma.tar.gz.md5 wicap-php.gamma.tar.gz.md5]
Project Forks
BenjaminJencks rewrote the perl part of WiCap-PHP (version beta) in python, and made some cool improvements. Get his version here:
[http://bjencks.net/captive/captive-0.1.tar.gz captive-0.1.tar.gz]
Although, his improvements made the beta version much better, delta incorporates his changes, with one exception, delta is written in C and PHP, no Python. My rationale behind this is that Python is not installed with OpenBSD 3.7 by default, and adding it takes significant space, since my Node is using a 256 MB Compact-Flash card for storage, this savings is needed. If you have Python installed, you may want to check out his fork.
Documentation
There is a FAQ here: ["WiCap-PHP-FAQ"]
Installation instructions are maintained within the tarball, also there is a HowTo here: [http://www.smallwhitecube.com/php/dokuwiki/doku.php?id=howto:openbsdap OpenBSD AP HowTo]
This will walk you through setting up an OpenBSD 3.7 access point from scratch. (based on ["NodeSmallWhiteCube"])