Byzantium/Byzantium — Issue #67: Improve management of captive portal daemon.
Author: virtadpt
Created: 2012-01-08 21:56:37+00:00
State: open

The NetworkConfiguration and MeshConfiguration objects need to be extended to manage captive_portal.py better. Specifically, they need to be able to find the daemon in the process list, kill it, and run the captive-portal.sh script with the appropriate arguments to remove the IP tables rules for a particular wireless interface. In the event that there is more than one wireless interface it will then be important to restart captive_portal.py to take care of the rest of the active interfaces. We can get away with not having this for the initial release but later on this is going to be critical.

It would make sense to split this functionality into a couple of methods to make the code easier to maintain.