Python Captive Portal???

Alan Williams abwilliams72 at gmail.com
Wed Feb 25 12:31:29 EST 2015


I was wondering if anyone has experimented with python, memcache and maybe squid to write a simple captive portal managed by a linux box?

Concept:

Control Center - Linux box running Ubuntu 14.04 w/2 nic's and dhcp-server running on it.

NIC's are setup eth0(192.168.0.2), eth1(10.10.10.2).

eth0 is the gateway to public internet(connected to DSL Modem)

eth1 is serving dhcp addresses to guests through AP's.

AP's have static 10. addresses outside of dhcp pool.

Guest connect to network and request a webpage.

All guests must accept user agreement only(click through page.) and are redirected to their original requested page.

Allowed ports are 443 & 80.

using python/memcache to manage sessions and redirect to splash page???

Is this possible?

What am I missing?



More information about the Python-list mailing list