Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/martinbrugnara/captiveportal


https://github.com/martinbrugnara/captiveportal

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

# Captive Portal
===
Lightweight dockerized (maybe in the future) Captive Portal based on GO and iptables.

##### Event if it seams to work ... it's far from to be production ready #####

## Implementation note:
* #### Identification:

User identification is made binding IP&MAC with an UID (User ID).

* #### Authentication:

The authentication module can be easly extended as needed.
Captive provide two function *Grant* and *Revoke* to manage the connectivity of the user.

All the rest is pure html and sql call, no dark magic I promise,
that can be modified without pain ;)

* #### Modes:

* Same thing as Authentication.
* Currently implementation:
* Activation for N hours/days
* One device per account a time

### Requirements
* arp
* iptables
* golang

### ACK
Based on the idea of:
http://www.andybev.com/index.php/Using_iptables_and_PHP_to_create_a_captive_portal