Byzantium/Byzantium — Issue #94: Make the captive portal daemon listen on more than one port.
Author: virtadpt
Created: 2012-03-07 04:10:07+00:00
State: open
Labels: Captive portal, ISO image - v0.2a

The captive portal needs to redirect traffic for more than port 80/TCP. Some mobile clients will no doubt be attempting connections to port 443/TCP (HTTPS). The IP tables rules already account for that but captive_portal.py needs to as well. We can't just redirect traffic for 443/TCP with --to-destination $CLIENTIP:31337 because port 31337 is listening for HTTP and not HTTPS, it just doesn't work that way. This means making captive_portal.py listen on more than one port.

This looks promising: http://docs.cherrypy.org/stable/refman/process/servers.html

CherryPy natively supports SSL, so it should be possible to make the second port the daemon sits on SSL/TLS aware.