[PR #1957] [CLOSED] feat: support client verify for derp #2420

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1957
Author: @117503445
Created: 5/25/2024
Status: Closed

Base: mainHead: 117503445/verify-client


📝 Commits (1)

  • 89e6c40 feat: support client verify for derp

📊 Changes

5 files changed (+138 additions, -4 deletions)

View changed files

📝 hscontrol/app.go (+2 -0)
📝 hscontrol/handlers.go (+71 -0)
📝 hscontrol/tailsql.go (+1 -1)
📝 integration/README.md (+2 -2)
📝 integration/general_test.go (+62 -1)

📄 Description

  • have read the CONTRIBUTING.md file
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

I have initially implemented the verification function. Derp can verify whether the client is in the node list of headscale by specifying the --verify-client-url parameter to /verify in headscale.

I know there is still a lot of work to be done, such as comments, testing, documentation, etc. I am also willing to participate in the subsequent work.

Fixes #1953


🔄 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/1957 **Author:** [@117503445](https://github.com/117503445) **Created:** 5/25/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `117503445/verify-client` --- ### 📝 Commits (1) - [`89e6c40`](https://github.com/juanfont/headscale/commit/89e6c40ef7631a0b4f5447ff8dc65b9d61dcc114) feat: support client verify for derp ### 📊 Changes **5 files changed** (+138 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `hscontrol/app.go` (+2 -0) 📝 `hscontrol/handlers.go` (+71 -0) 📝 `hscontrol/tailsql.go` (+1 -1) 📝 `integration/README.md` (+2 -2) 📝 `integration/general_test.go` (+62 -1) </details> ### 📄 Description <!-- Headscale is "Open Source, acknowledged contribution", this means that any contribution will have to be discussed with the Maintainers before being submitted. This model has been chosen to reduce the risk of burnout by limiting the maintenance overhead of reviewing and validating third-party code. Headscale is open to code contributions for bug fixes without discussion. If you find mistakes in the documentation, please submit a fix to the documentation. --> <!-- Please tick if the following things apply. You… --> - [x] have read the [CONTRIBUTING.md](./CONTRIBUTING.md) file - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [x] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> I have initially implemented the verification function. Derp can verify whether the client is in the node list of headscale by specifying the `--verify-client-url` parameter to `/verify` in headscale. I know there is still a lot of work to be done, such as comments, testing, documentation, etc. I am also willing to participate in the subsequent work. Fixes #1953 --- <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:21:13 +01:00
adam closed this issue 2025-12-29 03:21:13 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2420