Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sgiurgiu/nanny
Net nanny using PF (OpenBSD)
https://github.com/sgiurgiu/nanny
Last synced: about 2 months ago
JSON representation
Net nanny using PF (OpenBSD)
- Host: GitHub
- URL: https://github.com/sgiurgiu/nanny
- Owner: sgiurgiu
- License: bsd-3-clause
- Created: 2018-04-06T02:29:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T02:24:06.000Z (about 2 years ago)
- Last Synced: 2023-03-12T08:07:45.950Z (almost 2 years ago)
- Language: C
- Size: 5.76 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Web Nanny
================
Control access to the internet for the specified hosts. It allows those hosts to give themselves acess/revoke it via a simple web interface.The way it works is this:
The firewall is configured to either deny or allow access to the external interface for the IPs in a certain table.
This tool simply add/removes IPs in the configured table depending on a flag. If the firewall is configured to block evreything,
but only allow addresses in a table, then this tool can add an IP to the table when allowing the host, and removing otherwise.It allows for daily (as in the days of the week) control of the number of minutes allowed. A host, when it wants internet access it visits the website and it gives itself access. The website has to be available on the internal LAN for it to be accessible.
When it is done with the internet for now, simply visits the website and it stops access (stops the counter). If the number of minutes expires, access is stopped automatically.At the moment there is no configuration page (would imply admin access, which implies authentication) so all configuration is done in the database directly.