Skip to content

Latest commit

 

History

History
168 lines (139 loc) · 4.27 KB

File metadata and controls

168 lines (139 loc) · 4.27 KB

LiteBike Commercial Licensing

Production Features

Performance Metrics

  • 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)

Current Protocol Support

  • HTTP/1.1 with CONNECT tunneling
  • SOCKS5 basic implementation
  • TLS with SNI extraction
  • Protocol detection

Implemented Features

  • Protocol Detection: Protocol identification
  • DNS-over-HTTPS: Via trust-dns-resolver
  • UPnP: Via igd-next (main binary only)
  • Binary size: 1.2MB

Commercial Use Cases

1. Mobile Network Operators

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

2. Corporate BYOD Networks

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

3. IoT Gateway Providers

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

4. VPN/Proxy Service Providers

Problem: Offer multiple proxy protocols efficiently Solution: Single binary, multiple protocols

  • Reduce operational complexity
  • Fast routing
  • Commercial license for proprietary extensions

5. Content Delivery Networks

Problem: Edge proxy with intelligent routing Solution: TLS SNI extraction for origin selection

  • Route by hostname without decryption
  • Efficient protocol detection
  • Minimal latency overhead

Performance Characteristics

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

Deployment

Docker Container

FROM scratch
COPY litebike-proxy /
EXPOSE 8080 1080
ENTRYPOINT ["/litebike-proxy"]
# Total image size: 1.3MB

Kubernetes Deployment

apiVersion: 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

High Availability Configuration

# 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 License Options

Commercial licensing available for:

  • Use without AGPL obligations
  • Proprietary modifications
  • Commercial deployment

Contact for pricing and terms.

Security

Security Features

  • 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

Compliance

  • GDPR: No personal data collection
  • SOC 2: Audit trail support
  • HIPAA: Encryption in transit
  • PCI DSS: Secure proxy for payment systems

CVE Response

  • Critical: < 24 hours
  • High: < 72 hours
  • Medium: < 7 days
  • Low: Next release

Contact

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.