Skip to content

fix: upgrade tailscale to fix STUN probes on dual stack #10535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

spikecurtis
Copy link
Contributor

Fixes STUN probe issues on dual stack systems by incorporating coder/tailscale#43

Copy link
Contributor Author

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@spikecurtis spikecurtis force-pushed the 11-06-fix_upgrade_tailscale_to_fix_STUN_probes_on_dual_stack branch from 3c432d4 to 0bdc2df Compare November 7, 2023 04:29
@@ -69,9 +69,9 @@ func TestDERP(t *testing.T) {
assert.True(t, node.CanExchangeMessages)
assert.NotEmpty(t, node.RoundTripPing)
assert.Len(t, node.ClientLogs, 2)
assert.Len(t, node.ClientLogs[0], 1)
assert.Len(t, node.ClientLogs[0], 3)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: extra logs come from coder/tailscale#41

@@ -125,7 +127,7 @@ func TestDERP(t *testing.T) {
}
})

t.Run("ForceWebsockets", func(t *testing.T) {
t.Run("FailoverToWebsockets", func(t *testing.T) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"ForceWebsockets" is a setting that makes it not even attempt regular DERP upgrade. Here we try Upgrade: DERP, get rejected, and then failover to websockets.

@spikecurtis spikecurtis merged commit c87deb8 into main Nov 7, 2023
@spikecurtis spikecurtis deleted the 11-06-fix_upgrade_tailscale_to_fix_STUN_probes_on_dual_stack branch November 7, 2023 04:48
@github-actions github-actions bot locked and limited conversation to collaborators Nov 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants