Send the server token from the web proxy and limit peer relay addresses

The proxy adds the shared token to every upstream request and drops any
client copy. The peer relay accepts only tailnet, LAN, ts.net and discovered
hosts, resolves each name once and pins the checked address, and flags
ws:// endpoints with insecure_transport.
This commit is contained in:
2026-11-10 00:59:39 +00:00
parent 84f7e33872
commit 547d4d9822
9 changed files with 641 additions and 95 deletions
+2
View File
@@ -175,6 +175,8 @@ async function fixture(t) {
...process.env,
PIPELINES_WEB_AUTH: "",
PIPELINES_WEB_AUTH_FILE: auth,
// The fixture machines listen on loopback, which the relay refuses by default.
PIPELINES_PEER_ALLOW: "loopback",
},
stdio: ["ignore", "pipe", "inherit"],
},