]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - config/rootfiles/common/misc-progs
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, 22 Sep 2017 17:54:03 +0000 (18:54 +0100)
commitee40139d9ad0f5b1f07c5735641e45ebb6bd573a
treeee8846e86c6f3d7e4ba59e3246daad4845865e04
parenta0410549418a4dd2d6ae1f71728da1eae7a928a3
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]