captive.whump.shanti-portal/tools
Stefan Midjich 6f476223b5 Two major changes in this commit:
* Moving from iptables to ipset
	* Moving from python-sh to subprocess
2017-11-15 23:12:16 +01: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 Two major changes in this commit: 2017-11-15 23:12:16 +01:00
errors.py testing new purge script 2017-09-29 18:37:30 +02:00
helpers.py Two major changes in this commit: 2017-11-15 23:12:16 +01:00
manage_client.py Two major changes in this commit: 2017-11-15 23:12:16 +01: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
requirements.txt Two major changes in this commit: 2017-11-15 23:12:16 +01:00
storage.cfg missed port 2017-11-15 23:03:17 +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.