Repository navigation
Complete importable SDK, explicit compatibility and authentication hooks - #4
Merged
vvbbnn00 merged 2 commits intoOct 5, 2026
Conversation
Member
|
Thanks for the PR. Thanks again for your contributions! |
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.
The merged client package still uses the local
geektrustmodule path, preventing downstream Go modules from importing a published revision. This updates the module and imports togithub.com/ShanghaitechGeekPie/geektrustand completes the public SDK integration needed by FlexConnect 2.0.Deployment-specific behavior is explicitly configured through
deployment.Compatibility, with strict defaults and no hostname-based presets. This covers application/gateway fallbacks, TLS server name, gateway-group behavior, TCP-to-L3 fallback and optional process identity. Removing options also removes their behavior when restoring a session. Explicit gateway rejection remains terminal.The public
authpackage provides cancellable, deadline-bound SMS challenges and a controller-login hook. SDK capabilities distinguish implementation support from server authorization.Options.CheckTargetlets an embedder reject a resolved TCP, UDP or ICMP destination before transport opens, without expanding controller policy or moving OS routing into the library.Validation:
go test ./...andgo vet ./...pass on Windows; focused FlexConnect integration and race tests pass. ECNU Passkey login, gateway setup, UDP/TCP DNS and HTTPS 200 passed after rebasing onto v0.2.1-rc1. That live session did not require SMS; SMS interaction is covered by tests. No native three-platform TUN acceptance is claimed.