-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to get cloak going "manually" on a rooted android phone, hit a mysterious snag, help needed #272
Comments
Oddly enough, if I use port 80 to connect (which does not seem like a particularly wise idea) then it seems to proceed more healthily su -c /data/data/com.termux/files/home/ter/e/ck-clientarm64 -i 127.0.0.1 -l 8888 -p 80 -s 13.53.193.244 -c /data/data/com.termux/files/home/ter/c/ck/shadowT.json -verbosity trace gives a healthy session (or, well, seemingly healthy session) INFO[0000] Starting standalone mode |
Okay, I found a workaround.
et viola, the session establishes as expected over port 443. Really maddening behavior which at minimum should be documented, maybe? Anyhow, if anyone suffers from this here's my workaround. I'll leave the issue open just in case this is an actual bug and worth fixing |
Hi @notsure2 @cbeuw sorry for absolutely shameless tag
Basically, I'm out of my wits with trying to get the thing going "manually" on an android phone
So, I've set up the most recent server on an AWS, non-CDN mode
the config goes
server:
{
"ProxyBook": {
"a1":["udp","127.0.0.1:9999"] , "a2":["tcp","127.0.0.1:9999"] , "a3":["tcp","127.0.0.1:6969"]
},
"BypassUID": [
"SNIP+A+ow==",
"SNIP/3Onb0A=="
],
"BindAddr":[":443",":80"],
"RedirAddr": "aws.amazon.com",
"PrivateKey": "SNIP=",
"AdminUID": "SNIP/SNIP+A==",
"DatabasePath": "userinfo.db",
"StreamTimeout": 900
}
On client
{
"ProxyMethod":"a2",
"EncryptionMethod":"aes-128-gcm",
"UID":"SNIP+A+ow==",
"Transport": "direct",
"PublicKey":"SNIP=",
"ServerName":"aws.amazon.com",
"NumConn":4,
"BrowserSig":"chrome",
"StreamTimeout":900
}
The client is started by:
su -c /data/data/com.termux/files/home/ter/e/ck-clientarm64 -i 127.0.0.1 -l 8888 -p 443 -s 13.53.193.244 -c /data/data/com.termux/files/home/ter/c/ck/shadowT.json -verbosity trace
And the client sticks eternally in the state of
INFO[2024-07-27T02:04:47Z] Attempting to start a new session
TRAC[2024-07-27T02:04:47Z] client hello sent successfully
TRAC[2024-07-27T02:04:47Z] waiting for ServerHello
TRAC[2024-07-27T02:04:47Z] client hello sent successfully
TRAC[2024-07-27T02:04:47Z] waiting for ServerHello
TRAC[2024-07-27T02:04:47Z] client hello sent successfully
TRAC[2024-07-27T02:04:47Z] waiting for ServerHello
TRAC[2024-07-27T02:04:47Z] client hello sent successfully
TRAC[2024-07-27T02:04:47Z] waiting for ServerHello
I am completely out of my wits and helplessly angry at the computer :)
Please help me out
The text was updated successfully, but these errors were encountered: