# Public QUIC Endpoints Database
# Used for external validation testing of ant-quic implementation
# Last updated: 2025-07-26

endpoints:
  # Major Tech Companies
  - name: Google Search
    host: www.google.com
    port: 443
    protocols:
      - h3
      - h3-29
    type: production
    category: search
    reliability: high
    features:
      - 0-RTT
      - connection-migration
      - multipath
    notes: Primary Google search endpoint

  - name: YouTube
    host: www.youtube.com
    port: 443
    protocols:
      - h3
      - h3-29
    type: production
    category: video
    reliability: high
    features:
      - 0-RTT
      - connection-migration
    notes: Video streaming with QUIC

  - name: Cloudflare
    host: cloudflare-quic.com
    port: 443
    protocols:
      - h3
      - h3-29
    type: production
    category: cdn
    reliability: high
    features:
      - 0-RTT
      - connection-migration
      - alt-svc
    notes: Cloudflare's QUIC test endpoint

  - name: Facebook
    host: www.facebook.com
    port: 443
    protocols:
      - h3
      - h3-29
    type: production
    category: social
    reliability: high
    features:
      - 0-RTT
      - multipath
    notes: Meta's QUIC implementation

  # CDN and Infrastructure
  - name: Akamai
    host: http3-test.akamai.com
    port: 443
    protocols:
      - h3
    type: test
    category: cdn
    reliability: high
    features:
      - 0-RTT
      - alt-svc
    notes: Akamai's HTTP/3 test endpoint

  - name: Fastly
    host: www.fastly.com
    port: 443
    protocols:
      - h3
      - h3-29
    type: production
    category: cdn
    reliability: medium
    features:
      - 0-RTT
    notes: Fastly CDN with QUIC support

  # Test and Development Endpoints
  - name: QUIC Interop Runner
    host: quic.aiortc.org
    port: 443
    protocols:
      - h3
      - h3-29
    type: test
    category: interop
    reliability: high
    features:
      - 0-RTT
      - connection-migration
      - key-update
    notes: QUIC interop testing endpoint

  - name: LiteSpeed Test
    host: http3-test.litespeedtech.com
    port: 443
    protocols:
      - h3
      - h3-29
    type: test
    category: test
    reliability: high
    features:
      - 0-RTT
      - server-push
    notes: LiteSpeed QUIC test server

  - name: NGINX QUIC
    host: quic.nginx.org
    port: 443
    protocols:
      - h3
    type: test
    category: test
    reliability: medium
    features:
      - 0-RTT
    notes: NGINX QUIC experimental endpoint

  # Academic and Research
  - name: Picoquic Test
    host: test.privateoctopus.com
    port: 4433
    protocols:
      - h3
      - hq-interop
    type: test
    category: research
    reliability: medium
    features:
      - 0-RTT
      - multipath
      - datagram
    notes: Picoquic implementation test server

  # Regional Endpoints
  - name: Alibaba Cloud
    host: www.aliyun.com
    port: 443
    protocols:
      - h3
    type: production
    category: cloud
    reliability: high
    region: asia
    features:
      - 0-RTT
    notes: Alibaba Cloud services

  - name: Baidu
    host: www.baidu.com
    port: 443
    protocols:
      - h3
    type: production
    category: search
    reliability: medium
    region: asia
    features:
      - 0-RTT
    notes: Chinese search engine with QUIC

# Validation Configuration
validation:
  timeout_seconds: 10
  _retry_attempts: 3
  _retry_delay_ms: 1000
  _parallel_connections: 5
  
  # Test categories
  _tests:
    - _name: basic_connectivity
      _description: Test basic QUIC connection establishment
      _required: true
      
    - _name: protocol_negotiation
      _description: Verify ALPN protocol negotiation
      _required: true
      
    - _name: zero_rtt
      _description: Test 0-RTT resumption
      _required: false
      
    - _name: connection_migration
      _description: Test connection migration
      _required: false
      
    - _name: performance_metrics
      _description: Collect RTT and throughput metrics
      _required: false

# Reporting Configuration
reporting:
  formats:
    - markdown
    - json
    - html
  
  metrics:
    - connection_success_rate
    - average_handshake_time
    - protocol_support
    - feature_availability
    - regional_performance
  
  badges:
    - name: QUIC Compatibility
      threshold: 80  # % of endpoints successfully connected
    - name: Protocol Support
      protocols: [h3, h3-29]
    - name: Performance Grade
      based_on: average_handshake_time