tailscale / tailscale/tailscale

Provide stronger way to declare UDP won't work

Open
#3,166 1 comment 0 reactions 0 assignees View on GitHub
needs-fix
Dominant language
Go
Stars
36.5k
Forks
3.2k
Avg merge
1d 23h
Merged PRs (30d)
132

Description

Right now there's no way for a node to declare in its Hostinfo/NetInfo that it absolutely is incapable of doing UDP so don't even try.

The Netinfo.UDP field is close, but it technically only says whether STUN UDP worked. Local LAN UDP might still work, so clients should try.

But `js/wasm` (#3157) can never do UDP, so even doing a CallMeMaybe disco message over DERP is pointless. Clients should rather just start using DERP directly without the disco work at all, once we have a way to declare that. (Without making assumptions from Hostinfo.OS).

/cc @danderson

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.