Conversation
|
Label |
439c081 to
2725f40
Compare
An invalid TCP relay target can reach the gateway or open a local listener before failing. This rejects it in the CLI and TypeScript SDK first, then preserves the normalized target through the handle and relay request. The gateway continues to validate every target. Signed-off-by: Shiju <shiju@nvidia.com>
2725f40 to
84eafe7
Compare
Compatibility review (advisory)New or updated breaking changes; see the full report for all findings. 1. typescript-sdk — No explicit risk acceptance foundSandboxClient.forward previously returned the supplied ForwardHandle.targetHost unchanged but now replaces localhost with 127.0.0.1 and expanded IPv6 loopback with ::1.
Review details
Advisory review; publication gates are unchanged. |
Signed-off-by: Shiju <shiju@nvidia.com>
get.k3s.io serves the latest install.sh from k3s master, so the pinned checksum broke when upstream changed the script. Download install.sh from the release tag matching k3s_version instead and pin its checksum. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com> Signed-off-by: Shiju <shiju@nvidia.com>
|
This pull request has had no activity for 14 days and is now marked stale. |
|
Heads-up: To land the SDK part of this change:
Tracking: #5480 |
Summary
The CLI and TypeScript SDK now reject unsupported TCP hosts or ports before gateway lookup or opening a local forwarding listener. Supported loopback targets are normalized and carried through the relay request. The gateway still validates every target.
Related Issue
Closes #5112. Part of #5114.
Changes
Release Notes
Invalid TCP targets fail immediately with a configuration error. SSH relay targets keep their existing path.
Testing
Checklist