diff --git a/README.md b/README.md index 7912d6a..845278e 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,9 @@ All this is of course triggered by the portal application written in Python usin There's only one relevant plugin right now, iptables. But the idea is that you could add RADIUS plugins or other services. The mandatory flag in plugins.cfg decides if a plugin must pass before a client is authenticated. So you can string several plugins together for several actions that must be performed. +Each plugin responds with JSON. + ### iptables plugin 1. Executes the ``iptables_cmd`` defined in plugins.cfg, with arguments being the client IP and potentially the client MAC address. +2. Ensures the exit code of ``iptables_cmd`` is 0, if not 0 it sets a failed flag in its JSON response.