ipn/ipnlocal: add peerapi endpoint for relay server endpoint allocation

Relay server initialization is performed as part of handling peerapi
endpoint allocation requests in similar fashion to SSH server
init. The relay server is not supported on iOS for now.

Updates tailscale/corp#27502

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited
2025-04-09 13:23:21 -07:00
parent 9ff9c5af04
commit 559e548e8b
9 changed files with 167 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build !ios
// Package udprelay contains constructs for relaying Disco and WireGuard packets
// between Tailscale clients over UDP. This package is currently considered
// experimental.

View File

@@ -1,6 +1,8 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build !ios
package udprelay
import (

View File

@@ -0,0 +1,8 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build ios
package udprelay
type ServerEndpoint struct{}