Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martinbrugnara/captiveportal
https://github.com/martinbrugnara/captiveportal
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/martinbrugnara/captiveportal
- Owner: MartinBrugnara
- License: bsd-3-clause
- Created: 2014-08-10T17:30:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-13T14:05:04.000Z (about 9 years ago)
- Last Synced: 2024-06-21T03:33:30.228Z (5 months ago)
- Language: Go
- Size: 2.17 MB
- Stars: 27
- Watchers: 6
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Captive Portal
===
Lightweightdockerized (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