wicap - a captive portal that doesn't suck Copyright 2002 Brian Caswell. A license will be included later. Ok, so I am releasing this because I promised Bruce I would. This is the captive portal thing that I wrote to support a need of GeekSpeed. We needed a captive portal for the "free" side of GeekSpeed. GeekSpeed is a WISP that is owned and operated by Don Bailey (info@geekspeed.net). Check out http://www.geekspeed.net for more information about GeekSpeed. Anyway, back to wicap. All of the captive portals available had a few major flaws: * Waaaayyy too difficult to setup * Cost money * Sucked * Didn't support OpenBSD So at the request of Don, I wrote my own. Think of wicap as nocat that isn't so damn hard to setup. So this is what is included with wicap. etc/captive.conf - apache server config (for our users to get redirected to) etc/pf.conf - a working openbsd pf configuration example etc/nat.conf - a working openbsd nat configuration example bin/regen_firewall - perl daemon that will gen your new nat file on demand bin/print_ips - perl script to print the IPs that are currently authenticated cgi-bin/notice.cgi - the captive portal script thingie htdocs/header.html - the html header for the captive portal script thingie htdocs/footer.html - the html footer for the captive portal script thingie The following perl modules are required to be installed for this stuff to work: * MLDBM::Sync * MLDBM * SDBM_File * DB_File * Storable * Fcntl * CGI.pm screenshot.png - what it looks like at GeekSpeed wicap-0.2.tar.gz - where the cheeze at -brian (bmc@geekspeed.net)