thecubic / lurkr

an SNI reverse router / proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lurkr

an SNI reverse router / proxy

Usage

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

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

self-serving product review

I've used this in prod for about two years as part of literal life support and have not had to give one shit about it. It also serves high-bandwidth video streams

About

an SNI reverse router / proxy

License:Apache License 2.0


Languages

Language:Rust 98.8%Language:Dockerfile 1.2%