A fast, secure and flexible authentication proxy written in Rust
🔐 HTTP/HTTPS • 🔄 Smart failover • ⚡ ChaCha20-Poly1305 + HMAC-SHA256 • configurable via YAML/JSON
ProxyAuth is a high-performance authentication gateway and reverse proxy built in Rust.
It is designed to handle:
- 🔑 Secure token-based authentication
- 🕓 Dynamic expiration & rate limits
- 🌍 Multi-backend failover with cooldowns
- 📈 Real-time logging & stats
Why ProxyAuth?
- Faster than NGINX with Lua
- Safer than plain HAProxy
- Easier to integrate in modern infrastructures
- ✅ Token validation with HMAC
- ✅ Failover with progressive cooldown
- ✅ Benchmarked at 700,000 RPS on a Threadripper
cargo install proxyauth
curl -fsSL https://proxyauth.app/sh/install | bash
Tested on AMD Threadripper 5995WX:
➡️ 📊 View full benchmark (v0.7.2)
📈 700,000 requests per second
🔐 TLS + ChaCha20-Poly1305 + HMAC-SHA256
⚙️ 64-thread CPU • 512GB RAM • NVMe SSD
- ✅ ChaCha20-Poly1305 encryption
- ✅ HMAC-SHA256 key derivation
- ✅ Process isolation with dedicated system user (
proxyauth
) - ✅ Export cryptography configuration via GPG v6 sequoia-opengpg 2.0.0
- 🤝 Contributions are welcome!
- Open an issue or a pull request
- Share the project and drop a ⭐ if you like it
Made with ❤️ by @vBlackOut