A simple web-server and a command line interface to manage users.
The purpose of the software is a simple and straightforward one: add an IP
address to the firewall's white list. Currently only shorewall
is supported
and a user is supposed to use a special zone as the white list.
The project is managed by Cargo so one can
easily build it using the usual command (cargo build
, …).
The project uses Rocket web server under the cover. To configure it please consider reading a Configuration chapter in the Rocket guide.
After building the project a web
binary should be available. Here's an
example:
web --pass-db data/passwords.db --pass-checker data/db-checker.conf \
--shorewall shorewall --private-zone priv
To see available options and their descriptions:
web --help
After building the project a manage
binary should be available. Please a
'help' command to see available options:
manage --help
Here's an example:
manage --pass-db data/passwords.db --pass-checker data/db-checker.conf add-user --user foo
- Online changes to the database.
- Support different firewalls.
- Work on this readme.