Skip to content

Add bounded relay process admission - #9

Merged
Mathieu2301 merged 1 commit into
mainfrom
mathieu/integrate-home-key-auth
Sep 5, 2026
Merged

Mathieu2301 merged 1 commit into
mainfrom
mathieu/integrate-home-key-auth

Conversation

@Mathieu2301

Copy link
Copy Markdown
Member

Summary

  • add finite process-wide limits for active connections, connection attempts, tracked source addresses, active homes, and aggregate queued bytes
  • key admission by the immediate TCP peer and deliberately ignore caller-controlled forwarded headers
  • reserve and release the shared outbound queue budget across every lifecycle path, with safe retryable HTTP and protocol failures
  • document the bounded deployment profile and expose validated environment configuration for staging overrides

Validation

  • go test ./...
  • go test -race ./...
  • go vet ./...
  • CI-equivalent race and coverage suite
  • scripts/check-control-plane-integration.sh
  • scripts/check-miakapi-integration.sh
  • scripts/check-platform-integration.sh
  • production Docker image build
  • gofmt and git diff --check

Cloud impact

None. This PR only changes the relay implementation and tests; it does not deploy or modify cloud resources.

@Mathieu2301
Mathieu2301 merged commit df10674 into main Sep 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant