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:
@@ -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"],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user