https://github.com/arturmeski/dhcpleasemon.rs
DHCP Lease Monitor for OpenBSD
https://github.com/arturmeski/dhcpleasemon.rs
dhcpleased openbsd
Last synced: 2 months ago
JSON representation
DHCP Lease Monitor for OpenBSD
- Host: GitHub
- URL: https://github.com/arturmeski/dhcpleasemon.rs
- Owner: arturmeski
- Created: 2024-12-21T20:58:21.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-01-04T22:28:56.000Z (4 months ago)
- Last Synced: 2025-01-04T23:23:57.615Z (4 months ago)
- Topics: dhcpleased, openbsd
- Language: Rust
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DHCP Lease Monitor for OpenBSD (written in Rust)
This is a daemon that monitors any lease changes for the specified
interfaces. When a change happens it then calls a script located
in /etc/dhcpleasemon. The script name should be:lease_trigger_
The script has access to the following environment variables:
* `$DHCP_IFACE` -- interface name
* `$DHCP_IP_ROUTE` -- default route for the interface
* `$DHCP_IP_ADDR` -- IP address from the lease