-
Notifications
You must be signed in to change notification settings - Fork 266
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
安卓客户端Bug #45
Comments
这个原因我不是很确定,我印象中应该会使用 webpki-roots 包提供的根证书,你可以尝试升级一下这个包然后编译运行看看。 |
我刚刚用最新的版本试了一下,还是这个问题。有空我自己编译试试。 客户端: 服务端: |
Hi |
Hi, would you mind share more detail on the problem and solution? Thanks. |
Hi |
Well I simply downloaded the compiled executables from release page and run them. I didn't define any enviroment varaibles. |
I used the Docker version, but doesn't make any difference! I meant TLS, which should be set like TLS=www.google.com:443 on the server and TLS=www.google.com on the client. I have set them not as same, by mistake. |
遇到问题的朋友们可以抓下包看看,担心敏感信息泄漏可以发送至我的邮箱,有空会处理。 If you meet the same problem, you can capture the packets and send it to my email, which can be found in my github profile. I will process it when I have time. |
可以尝试一下最新版本,可能首最近修复的一个 Bug 影响。 |
刚刚测试了一下,还是不行,但是log的内容变了,客户端服务端都是Info: Accepted a connection + Relay finished 这次我怎么设置RUST_LOG都只有INFO了,不显示任何DEBUG/TRACE级别的log,是代码改了吗? |
环境:
客户端
Redmi K50 Android 12 MIUI 13 官方稳定版ROM (ARMv8)
(如果使用PC windows 11 客户端,则无此问题)
./shadow-tls-aarch64-unknown-linux-musl client --listen "0.0.0.0:8243" --server "x.x.x.x:8443" --sni "oracle.com" --password "yyyyyyyy"
Log:
2022-11-20T19:04:57.401453Z INFO shadow_tls: Client is running!
Listen address: 0.0.0.0:8243
Remote address: x.x.x.x:8443
TLS server name: oracle.com
2022-11-20T19:05:01.524408Z INFO shadow_tls: Accepted a connection from 127.0.0.1:41416
2022-11-20T19:05:01.672460Z INFO shadow_tls: Accepted a connection from 127.0.0.1:41420
2022-11-20T19:05:01.954111Z WARN rustls::conn: Sending fatal alert BadCertificate
2022-11-20T19:05:01.954981Z INFO shadow_tls: Accepted a connection from 127.0.0.1:41424
2022-11-20T19:05:02.103545Z WARN rustls::conn: Sending fatal alert BadCertificate
2022-11-20T19:05:02.463809Z WARN rustls::conn: Sending fatal alert BadCertificate
2022-11-20T19:05:02.466068Z INFO shadow_tls: Accepted a connection from 127.0.0.1:41428
2022-11-20T19:05:02.977163Z WARN rustls::conn: Sending fatal alert BadCertificate
2022-11-20T19:05:02.979236Z INFO shadow_tls: Accepted a connection from 127.0.0.1:41432
2022-11-20T19:05:03.489424Z WARN rustls::conn: Sending fatal alert BadCertificate
2022-11-20T19:05:03.491310Z INFO shadow_tls: Accepted a connection from 127.0.0.1:41436
2022-11-20T19:05:04.001440Z WARN rustls::conn: Sending fatal alert BadCertificate
我查了一下,oracle.com的CA根证书是Digicert,对比了序列号,我手机上有这个预装的受信任根证书。
是不是rusttls无法读取安卓的cert store?
The text was updated successfully, but these errors were encountered: