mirror of
https://github.com/cbeuw/Cloak.git
synced 2026-04-25 12:35:59 +03:00
[GH-ISSUE #46] can multiple users use same UID? #38
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Cloak#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexkatanda on GitHub (Aug 6, 2019).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/46
I tested openvpn+ck
In one mobile it is normally worked, however in two mobile it can not work simultaneously.
@cbeuw commented on GitHub (Aug 6, 2019):
A UID is supposed to be used across multiple devices by the same user, although each device needs its own ck-client instance. Did you connect both mobiles to the same instance or are there two separate clients running?
@alexkatanda commented on GitHub (Aug 6, 2019):
Two client is using the same configuration and UID.
@alexkatanda commented on GitHub (Aug 6, 2019):
Of course, in both mobiles are running two separate client.
These are using the same configuration(server ip, domain, uid, public
key...)
@alexkatanda commented on GitHub (Aug 6, 2019):
Can i get current active UID list in ck-server?
@cbeuw commented on GitHub (Aug 6, 2019):
So somehow 9 months ago when I first started this project I imported math/rand instead of crypto/rand in ck-client.go. That maybe intentional back then but later whenever i called rand.Read in ck-client.go it's actually the deterministic pseudo random generator being called. This caused the sessionId generated in ck-client.go being constant on startup. I've fixed it in
github.com/cbeuw/Cloak@d9d8be12dcand it should solve the issue.As for a list of active users, it's on the TODO list, though there's no time frame as to when I'll implement it
@malikshi commented on GitHub (Aug 16, 2019):
can you share config openvpn server and cloak server? i dont really understand it,