Open alexkatanda opened 5 years ago
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?
Two client is using the same configuration and UID.
Of course, in both mobiles are running two separate client. These are using the same configuration(server ip, domain, uid, public key...)
Can i get current active UID list in ck-server?
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 https://github.com/cbeuw/Cloak/commit/d9d8be12dc92c436503fb570229030789464ad2b and 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
can you share config openvpn server and cloak server? i dont really understand it,
I tested openvpn+ck In one mobile it is normally worked, however in two mobile it can not work simultaneously.