captive.whump.shanti-portal/tools
2017-09-29 19:19:12 +02:00
..
__init__.py started writing better tools 2017-03-03 01:04:12 +01:00
captiveportal.pgsql added "expires" field to clients 2017-09-29 17:44:40 +02:00
client.py move up chain 2017-09-29 19:19:12 +02:00
errors.py testing new purge script 2017-09-29 18:37:30 +02:00
manage_client.py cleanup 2017-09-29 18:50:41 +02:00
purge_clients.py giving up on the cursor thing 2017-09-29 19:07:32 +02:00
README.md clarifications 2017-09-29 17:44:29 +02:00
storage.cfg replacing redis with postgres. 2017-03-06 10:26:35 +01:00
storage.py giving up on the cursor thing 2017-09-29 19:06:02 +02:00

Client tools

These tools deal with clients in IPtables backed by a PostgreSQL database.

A class is defined in client.py that handles creating and looking up clients.

Examples

See the cfg files for more examples.