PROJECT // eudormia
Active
eudormia
Zero-polling Rust daemon for OpenWrt routers that enforces bedtime network limits with nftables and timerfd.
eudormia is a lightweight Rust daemon for OpenWrt routers with a single external crate dependency (libc). It enforces graceful bedtime network limits without background polling loops.
Project homepage: eudormia.org ยท Source: github.com/lugu/eudormia
Key Engineering Choices
- Arms a single Linux
timerfdfor the next schedule transition instead of polling in userspace. - Installs an atomic, dedicated
inet eudormianftablestable using timed sets (5-minute grace period, 10-minute cooldown) without modifyingfirewall4rules. - Discovers WAN and LAN interfaces from the default route and OpenWrt
ubus. - Serves an embedded, dependency-free web schedule editor protected by salted SHA-256 PIN authentication.