Skip to content

v0.43.0

Choose a tag to compare

@ecv ecv released this 26 Nov 16:06
300fc5c

Edge proxies can refuse tenant upstreams that resolve to internal addresses at connect time, VPC backends bind only to their own network, and proxies report backends that point inward.

What's new

  • Connect-time guard for tenant upstreams. With UPSTREAM_ADDRESS_GUARD set on the extension server, the edge refuses any tenant backend or sign-in endpoint whose resolved address is loopback, private, link-local, carrier-grade NAT, documentation, IPv4-mapped or NAT64 of a private address, even when the name changes its answer after admission. (#959)
  • VPC backends bind only to their own slices. The extension server picks a VPC backend's network only from endpoint slices the platform published in the backend's own namespace, so a tenant-written label can no longer steer traffic into another project's network. (#960)
  • Backends that resolve inward show a reason. An HTTPProxy whose backend resolves, from the control plane, to a non-public address reports Programmed=False with reason BackendAddressNotPublic and names the address. Validation and the edge guard now share one range list. (#980)

Note

No CRD schema changes. Existing resources keep working without any conversion. HTTPProxy gains the BackendAddressNotPublic condition reason. The guard is off unless the extension server sets UPSTREAM_ADDRESS_GUARD=true.

Warning

Admission now refuses 100::/64 and IPv4-mapped addresses whose embedded IPv4 is internal, and the guard also refuses documentation ranges. A stored HTTPProxy that uses one of those turns not accepted at its next edit.

Changelog

  • 241d636 Merge branch 'fix/absolute-upstream-names' into feat/upstream-address-guard
  • a277f9e Merge branch 'fix/absolute-upstream-names' into feat/upstream-address-guard
  • 1da3ca1 Merge branch 'fix/absolute-upstream-names' into feat/upstream-address-guard
  • a31622d Merge main into fix/vpc-binding-provenance
  • 5a38857 Merge pull request #959 from datum-cloud/feat/upstream-address-guard
  • 8168c9f Merge pull request #960 from datum-cloud/fix/vpc-binding-provenance
  • 39bd166 Merge pull request #977 from datum-cloud/ci-speed/14-build
  • 300fc5c Merge pull request #980 from datum-cloud/feat/backend-address-status
  • 59ce4d2 Merge remote-tracking branch 'origin/main' into feat/upstream-address-guard
  • 9314d11 ci: Stop an E2E shard that gets no test folder
  • 8afb4e7 feat: Allow NAT64 addresses of public origins
  • ec499f9 feat: Count VPC backends left unbound
  • 13c7c29 feat: Guard tenant sign-in upstreams
  • be8b5b4 feat: Limit tenant upstreams to public addresses
  • e584e6b feat: Report backends resolving to private IPs
  • 18a1866 fix: Bind VPC backends only to attributable slices
  • 85b478e fix: Give each guarded upstream address its own host
  • e8dfd39 fix: Guard name-resolving clusters on VPC rules
  • 4de188a fix: Leave platform sign-in clusters unguarded
  • 5775bc2 fix: Log unresolved VPC bindings at info level
  • 4b94772 fix: Rebind when a Namespace's cluster label moves
  • c342027 fix: Rebind when a slice's provenance changes
  • 38ff1e6 fix: Refuse a backend with a malformed network label
  • c2f75f9 fix: Report untrusted slices on the service path
  • 58b0443 fix: Satisfy lint in the upstream address guard
  • 3978814 fix: Share one tenant identifier check
  • c0f63ae refactor: Reuse the shared DNS cluster check
  • 0df2d28 style: Drop prose comments from VPC binding code
  • e4d0638 style: Reword VPC binding metric help and tests
  • 15a51e8 style: Use a colon in the tenant lookup comment