]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
Captive Portal: add c-wrapper captivectrl
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 28 Jan 2016 13:24:07 +0000 (14:24 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Jan 2016 12:50:12 +0000 (12:50 +0000)
commit2eee949e2d5be5e299a000f76a8944a0bb3aec4c
tree94a4a85acc355cb3070cccc6485184689cecf54f
parent35b24ff8a933e2ab8614c4f9b7c27c25c6f95473
Captive Portal: add c-wrapper captivectrl

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.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
config/rootfiles/common/misc-progs
src/misc-progs/Makefile
src/misc-progs/captivectrl.c [new file with mode: 0644]