[PR #1563] [MERGED] Upgrade Go 1.21, Tailscale 1.50 and add Capability version support #2183

Closed
opened 2025-12-29 03:20:07 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1563
Author: @kradalby
Created: 9/27/2023
Status: Merged
Merged: 9/28/2023
Merged by: @kradalby

Base: mainHead: upgrade-tailscale-add-capver


📝 Commits (7)

  • 5380004 add helper function to extract capVer
  • 7000ebb update to go 1.21 and tailscale 1.50
  • de2d1d0 add 1.50 to integration tests
  • 2d110be remove randomport from debug menu, its now a capability
  • b256f3a add capVer to mapper
  • e703868 add randomport feature to capability map
  • 4bcbb39 add changelog entry

📊 Changes

16 files changed (+265 additions, -120 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 Dockerfile.debug (+2 -2)
📝 flake.lock (+6 -6)
📝 flake.nix (+3 -3)
📝 go.mod (+28 -19)
📝 go.sum (+68 -35)
📝 hscontrol/handlers.go (+74 -37)
📝 hscontrol/mapper/mapper.go (+12 -4)
📝 hscontrol/mapper/mapper_test.go (+5 -4)
📝 hscontrol/mapper/tail.go (+30 -3)
📝 hscontrol/mapper/tail_test.go (+4 -2)
📝 hscontrol/poll.go (+5 -1)
📝 hscontrol/poll_legacy.go (+12 -1)
📝 hscontrol/poll_noise.go (+14 -1)
📝 hscontrol/types/users.go (+0 -2)
📝 integration/scenario.go (+1 -0)

📄 Description

Also fix https://tailscale.com/security-bulletins/#ts-2023-006 using capability version.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/1563 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 9/27/2023 **Status:** ✅ Merged **Merged:** 9/28/2023 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `upgrade-tailscale-add-capver` --- ### 📝 Commits (7) - [`5380004`](https://github.com/juanfont/headscale/commit/5380004ffef2ea324b3a90fbd8105a26462d34bc) add helper function to extract capVer - [`7000ebb`](https://github.com/juanfont/headscale/commit/7000ebb4cabea05a9b5858cf4cf0e90c35a03b43) update to go 1.21 and tailscale 1.50 - [`de2d1d0`](https://github.com/juanfont/headscale/commit/de2d1d0a2ea3121d3f95b805e315610462c5bcd4) add 1.50 to integration tests - [`2d110be`](https://github.com/juanfont/headscale/commit/2d110be6b5355335ad55a998ca5331591ec9f45a) remove randomport from debug menu, its now a capability - [`b256f3a`](https://github.com/juanfont/headscale/commit/b256f3a37c57d4f24915c9d6558534f070a66a4c) add capVer to mapper - [`e703868`](https://github.com/juanfont/headscale/commit/e7038683557fbe72eed030bb7211789e44fd4bf1) add randomport feature to capability map - [`4bcbb39`](https://github.com/juanfont/headscale/commit/4bcbb399ac5aebeec33caf07f21e7e0ca28b962c) add changelog entry ### 📊 Changes **16 files changed** (+265 additions, -120 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `Dockerfile.debug` (+2 -2) 📝 `flake.lock` (+6 -6) 📝 `flake.nix` (+3 -3) 📝 `go.mod` (+28 -19) 📝 `go.sum` (+68 -35) 📝 `hscontrol/handlers.go` (+74 -37) 📝 `hscontrol/mapper/mapper.go` (+12 -4) 📝 `hscontrol/mapper/mapper_test.go` (+5 -4) 📝 `hscontrol/mapper/tail.go` (+30 -3) 📝 `hscontrol/mapper/tail_test.go` (+4 -2) 📝 `hscontrol/poll.go` (+5 -1) 📝 `hscontrol/poll_legacy.go` (+12 -1) 📝 `hscontrol/poll_noise.go` (+14 -1) 📝 `hscontrol/types/users.go` (+0 -2) 📝 `integration/scenario.go` (+1 -0) </details> ### 📄 Description Also fix https://tailscale.com/security-bulletins/#ts-2023-006 using capability version. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:20:07 +01:00
adam closed this issue 2025-12-29 03:20:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2183