💾 Archived View for gemini.rmf-dev.com › repo › Vaati › RouterMonitor › readme captured on 2023-01-29 at 03:00:51. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-07-16)
-=-=-=-=-=-=-
Router monitoring for OpenBSD
git clone https://gmi.rmf-dev.com/Vaati/RouterMonitor
Minimal router monitor for OpenBSD using the gemini protocol
Change the hostname and password in config.h before compiling the program
A Adler32 hash of your password can be obtained using a online hash calculator
Run "./gencert <your.hostname>" as root to generate a self-signed certificate for your hostname
Run "useradd -s nologin _rtmonitor", to add a user for rtmonitor
Add this to /etc/inetd.conf :
127.0.0.1:11965 stream tcp nowait root /usr/local/bin/rtmonitor rtmonitor
Add this to /etc/relayd.conf :
log connection
tcp protocol "gemini" {
tls keypair your.hostname
}
relay "gemini" {
listen on your.hostname port 1965 tls
protocol "gemini"
forward to 127.0.0.1 port 11965
}
rcctl enable relayd inetd
rcctl start relayd inetd