Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tailscale rebinds if there is no STUN among the 3 fastest regions #10236

Closed
coder/tailscale
#42
Labels
networkingArea: networkings2Broken use cases or features (with a workaround). Only humans may set this.
@spikecurtis

Description

@spikecurtis

tailscale's netcheck has an "incremental" mode where it only probes the 3 fastest regions based on the last netcheck

https://github.com/coder/tailscale/blob/c821c9c9966dd8a58f0fb03aca30743f151e57de/net/netcheck/netcheck.go#L420

If we have more than 3 regionswithout STUN in addition to at least one region with STUN, then the incremental netcheck could choose the non-STUN regions, and not set theIPv4CanSend boolean true in the netcheck report.

Then, our modified logic to determine whether we should rebind:

https://github.com/coder/tailscale/blob/c821c9c9966dd8a58f0fb03aca30743f151e57de/wgengine/magicsock/magicsock.go#L539

determines that weshould rebind because we didn't actually send any STUN probes, but there are STUN regions in the DERPMap.


Yet another case of tailscale.com's assumptions (there is a STUN server in every region) not matching our deployment scenario.

Metadata

Metadata

Assignees

No one assigned

    Labels

    networkingArea: networkings2Broken use cases or features (with a workaround). Only humans may set this.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp