Captive-Portal: add c-wrapper captivectrl

Message ID 1453987493-12458-1-git-send-email-alexander.marx@ipfire.org
State Dropped


Alexander Marx Jan. 29, 2016, 12:24 a.m. UTC
  This wrapper reads the captive settings and clients and sets the
firewall access rules. It is called every time the config changed or
everytime that a client changes. Also this wrapper is later called once
hourly to flush the chains and rebuild rules for actual clients.
Developed by Michael Tremer.

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
 src/misc-progs/captivectrl.c | 317 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 317 insertions(+)
 create mode 100644 src/misc-progs/captivectrl.c