Repository navigation
chore(release): bump version to v0.6.3 and update documentation - #117
Merged
Merged
Conversation
* feat(security): add auth token flag to protect self-hosted server (#63) * test: add unit tests for cli commands and tunnel service --------- Co-authored-by: Samiul Sk <9149283+kernelshard@users.noreply.github.com>
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #117 +/- ##
===========================================
+ Coverage 62.00% 73.80% +11.79%
===========================================
Files 15 15
Lines 808 836 +28
===========================================
+ Hits 501 617 +116
+ Misses 275 190 -85
+ Partials 32 29 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release v0.6.3
Patch release adding optional auth token protection for self-hosted servers, resolving 100% idle CPU dial spin, and improving test coverage.
What's Changed
• Auth Token Security (#63, #116): Added optional
--tokenflag andEXPOSE_SERVER_TOKENenvironment variable to protect self-hosted relay servers against unauthorized tunnel registrations. Verified using timing-attack safe comparison (crypto/subtle.ConstantTimeCompare).• Fixed 100% CPU Dial Spin (#55, #113): Replaced unbounded dial loop with a bounded worker pool (clamped to max 30) with exponential backoff and dynamic server-advertised
max_connections.• Test Coverage & Reliability (#110, #116): Added unit test suites for CLI commands (
config,init,root,server,tunnel), tunnel service lifecycle, and dev version fallback.• Documentation: Updated self-hosted security docs, installation pinning, and Docker Compose configurations.