Skip to content

MartinBrugnara/CaptivePortal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published