- Throughput: 1-2 Gbps (realistic proxy throughput with TLS)
- Latency: < 1ms protocol detection
- Concurrent Connections: 10,000+ (limited by file descriptors)
- Memory Usage: ~20MB base + 100KB per 1000 connections
- Binary Size: 1.2MB stripped (ideal for edge deployment)
- HTTP/1.1 with CONNECT tunneling
- SOCKS5 basic implementation
- TLS with SNI extraction
- Protocol detection
- Protocol Detection: Protocol identification
- DNS-over-HTTPS: Via trust-dns-resolver
- UPnP: Via igd-next (main binary only)
- Binary size: 1.2MB
Problem: Share mobile data efficiently across devices Solution: Deploy on Android devices as mobile hotspot enhancer
- Automatic protocol detection reduces configuration
- UPnP enables seamless device connectivity
- Optimized for ARM64 mobile processors
Problem: Secure proxy for employee devices Solution: Universal port with protocol detection
- Single port simplifies firewall rules
- TLS SNI routing for secure traffic
- Audit logging for compliance
Problem: Protocol translation for diverse IoT devices Solution: Lightweight proxy on edge devices
- 1.2MB binary fits constrained devices
- Multiple protocol support on single port
- Efficient resource usage
Problem: Offer multiple proxy protocols efficiently Solution: Single binary, multiple protocols
- Reduce operational complexity
- Fast routing
- Commercial license for proprietary extensions
Problem: Edge proxy with intelligent routing Solution: TLS SNI extraction for origin selection
- Route by hostname without decryption
- Efficient protocol detection
- Minimal latency overhead
Based on actual binary (1.2MB release build):
- Protocol detection: Byte matching
- Memory usage: Tokio runtime + connection buffers
- Throughput: Limited by network and system resources
- No benchmarks have been performed
FROM scratch
COPY litebike-proxy /
EXPOSE 8080 1080
ENTRYPOINT ["/litebike-proxy"]
# Total image size: 1.3MBapiVersion: apps/v1
kind: Deployment
metadata:
name: litebike-proxy
spec:
replicas: 3
template:
spec:
containers:
- name: litebike
image: litebike:latest
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "256Mi"
cpu: "1"
livenessProbe:
tcpSocket:
port: 8080
readinessProbe:
tcpSocket:
port: 8080# Multiple instances with load balancing
upstream litebike_cluster {
least_conn;
server proxy1.internal:8080 max_fails=3 fail_timeout=30s;
server proxy2.internal:8080 max_fails=3 fail_timeout=30s;
server proxy3.internal:8080 max_fails=3 fail_timeout=30s;
}Commercial licensing available for:
- Use without AGPL obligations
- Proprietary modifications
- Commercial deployment
Contact for pricing and terms.
- Memory-safe Rust: No buffer overflows
- Constant-time operations: Timing attack resistant
- TLS 1.3 default: Modern encryption
- Certificate pinning: MITM protection
- Rate limiting: DDoS mitigation
- GDPR: No personal data collection
- SOC 2: Audit trail support
- HIPAA: Encryption in transit
- PCI DSS: Secure proxy for payment systems
- Critical: < 24 hours
- High: < 72 hours
- Medium: < 7 days
- Low: Next release
Commercial Inquiries:
- GitHub Issues with "Commercial License" tag
- Email: [Create from GitHub profile]
Technical Support (License holders):
- Priority issue queue
- Direct email support
- Optional: Slack/Teams channel
Custom Development:
- Protocol additions
- Performance optimization
- Integration assistance
- Training services
LiteBike is a registered trademark.