Skip to content

fix(tailnet): disable wireguard trimming #9098

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

Merged
merged 5 commits into from
Aug 15, 2023
Merged

fix(tailnet): disable wireguard trimming #9098

merged 5 commits into from
Aug 15, 2023

Conversation

coadler
Copy link
Contributor

@coadler coadler commented Aug 15, 2023

Since Tailscale removed keep-alives, it seems like open but idle connections (SSH, port-forward, etc) can get trimmed fairly easily, causing hangs for a few seconds while the connection is setup again.

This was taken from Spike's PR #8492

Since Tailscale removed keep-alives, it seems like open but idle
connections (SSH, port-forward, etc) can get trimmed fairly easily,
causing hangs for a few seconds while the connection is setup again.

This was taken from Spike's PR #8492

Co-authored-by: Spike Curtis <spike@coder.com>
@coadler coadler requested a review from spikecurtis August 15, 2023 01:44
@coadler coadler self-assigned this Aug 15, 2023
@spikecurtis
Copy link
Contributor

spikecurtis commented Aug 15, 2023

The first two paragraphs of the comment don't apply an longer, since we're going to try to use pings to trigger wireguard.

Can you rewrite it to use the text from this PR:

Since Tailscale removed keep-alives, it seems like open but idle connections (SSH, port-forward, etc) can get trimmed fairly easily, causing hangs for a few seconds while the connection is setup again.

I think the last two paragraphs, about different use cases still applies.

@coadler coadler added the hotfix label Aug 15, 2023
@coadler coadler changed the title fix(tailnet): disable wireguard trimming fix(tailnet): disable wireguard trimming 2 Aug 15, 2023
@coadler coadler changed the title fix(tailnet): disable wireguard trimming 2 fix(tailnet): disable wireguard trimming Aug 15, 2023
Copy link

@cdr-bot cdr-bot bot left a comment

Choose a reason for hiding this comment

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

This PR is a hotfix and has been automatically approved.

  • ✅ Base is main
  • ✅ Has hotfix label
  • ✅ Head is from coder/coder
  • ✅ Less than 100 lines

@coadler coadler merged commit 5b2ea2e into main Aug 15, 2023
@coadler coadler deleted the colin/wg-trim branch August 15, 2023 19:26
@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 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.

3 participants