an SNI reverse router / proxy
cargo run -- --conf sample.toml --debug
or
cargo build -r && target/release/lurkr --conf sample.toml --debug
with the sample config it will listen on localhost:9337
debug logging and the shutdown grace period can also be set in the
optional [global] section of the configuration (debug,
grace_period); explicit --debug / --grace-period arguments win
you can then test connection with the openssl s_client:
openssl s_client -servername blah.google.com -connect localhost:9337
It will proxy to the selected downstream, and you should expect a server response with a PEM certificate, which you can read with | openssl x509 -text -noout
You can test specific hostnames with curl easily
curl --resolve tlyestotls:9337:127.0.0.1 -k https://tlyestotls:9337/ -v
container image: ghcr.io/thecubic/lurkr:main
now accepts termination signals; extremely graceful exit
I've used this in prod for over 4 years (as of 2026) as part of literal life support and have not had to give one shit about it. It also serves high-bandwidth video streams