Re: OpenBSD Captive Portal

2012-08-21 Thread Stuart Henderson
On 2012-08-21, David Diggles da...@elven.com.au wrote: On Mon, Aug 20, 2012 at 12:42:16PM -0700, Byron Klippert wrote: The web interfaces interact with the system through CGI scripts, httpd is run chroot disabled (httpd_flags=-u). Just one comment for now. You can run it as chroot if you

Re: OpenBSD Captive Portal

2012-08-21 Thread Hermes Ojeda Ruiz
I was working few weeks ago to recover the project Wicap-PHP: https://github.com/LogicalBricks/wicap-php Caleb Phillips give me the source code to maintain. Now it works for OpenBSD 5.x. The behavior is really simple, but maybe need a good install script. On Tue, Aug 21, 2012 at 10:10 AM,

Re: OpenBSD Captive Portal

2012-08-21 Thread Byron Klippert
I should make clear that my approach was time sensitive (which is why I stayed in shell) and requires only OpenBSD 5.0 base. Trade-offs being mainly efficiency; depending on how often the monitor-usage.cgi script is called. I'd say that it complies with most of the tenants below: + Small is

OpenBSD Captive Portal

2012-08-20 Thread Byron Klippert
Hello misc, Using OpenBSD 5.0 I've managed to put together a simple captive portal based on a ticketed system. When a customer wants to use the internet they must get an access key from the front desk. When they associate with the network they must authorize the key in order to pass through the

Re: OpenBSD Captive Portal

2012-08-20 Thread David Diggles
On Mon, Aug 20, 2012 at 12:42:16PM -0700, Byron Klippert wrote: The web interfaces interact with the system through CGI scripts, httpd is run chroot disabled (httpd_flags=-u). Just one comment for now. You can run it as chroot if you copy any dependancies into the chroot, including binaries,