You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/udprelay
Jordan Whited 824027305a cmd/tailscale/cli,ipn,all: make peer relay server port a *uint16
In preparation for exposing its configuration via ipn.ConfigVAlpha,
change {Masked}Prefs.RelayServerPort from *int to *uint16. This takes a
defensive stance against invalid inputs at JSON decode time.

'tailscale set --relay-server-port' is currently the only input to this
pref, and has always sanitized input to fit within a uint16.

Updates tailscale/corp#34591

Signed-off-by: Jordan Whited <jordan@tailscale.com>
1 week ago
..
endpoint wgengine/magicsock,all: allocate peer relay over disco instead of PeerAPI (#16603) 4 months ago
status cmd/tailscale/cli,ipn,all: make peer relay server port a *uint16 1 week ago
server.go cmd/tailscale/cli,ipn,all: make peer relay server port a *uint16 1 week ago
server_test.go net/udprelay: use blake2s-256 MAC for handshake challenge 1 week ago