| Version | Supported |
|---|---|
| 1.0.x | ✅ |
| < 1.0 | ❌ |
Report security vulnerabilities by opening a GitHub issue marked "Security" - these will be handled privately.
- Critical: Direct email with 4-hour response SLA
- High/Medium: Priority support queue
- Low: Regular issue tracking
- Written in Rust - prevents buffer overflows, use-after-free
- No unsafe blocks in critical paths
- Bounds checking on all protocol parsing
- TLS 1.2+ enforced by default
- Certificate validation
- SNI extraction without decryption
- Constant-time comparisons for auth
- Rate limiting per IP
- Connection limits
- Configurable bind addresses
- Optional authentication layer
# Restrict to localhost only
BIND_IP=127.0.0.1 litebike-proxy
# Disable discovery protocols
DISABLE_UPNP=true litebike-proxyThe protocol detection provides O(k) protocol detection but may leak protocol type via timing. This is acceptable for a proxy but should be considered in high-security environments.
Configure appropriate limits:
# Limit connections
MAX_CONNECTIONS=10000 litebike-proxy
# Rate limiting
RATE_LIMIT_PER_IP=100 litebike-proxy- Review bind address for deployment environment
- Configure firewall rules appropriately
- Enable authentication if needed
- Set resource limits for production
- Monitor for unusual traffic patterns
- Keep binary updated for security patches
- Report received: Acknowledge within 24h
- Triage: Severity assessment within 72h
- Fix development: Based on severity
- Testing: Internal validation
- Release: Coordinated disclosure
- Public disclosure: After patch availability
# Build with additional hardening
RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C lto=fat -C codegen-units=1" \
cargo build --release# Linux: Use seccomp filters
litebike-proxy --seccomp-filter
# Capability dropping
setcap cap_net_bind_service=+ep litebike-proxy
# Run as non-root
sudo -u proxy litebike-proxy# Enable audit logging
AUDIT_LOG=/var/log/litebike/audit.log litebike-proxy
# Log format includes:
# - Timestamp
# - Source IP
# - Detected protocol
# - Target destination
# - Bytes transferred(Available for commercial deployments upon request)