Skip to content
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

可否使用 SSL 与服务器连接呢 #10

Closed
ARwMq9b6 opened this issue Jul 29, 2015 · 4 comments
Closed

可否使用 SSL 与服务器连接呢 #10

ARwMq9b6 opened this issue Jul 29, 2015 · 4 comments

Comments

@ARwMq9b6
Copy link

目前客户端中填写服务器的标准格式是 gost -S=server_ip:port , 使用 Cloud9 IDE 和 Heroku 只能
gost -S=*.c9.io:80gost -S=*.herkuapp.com:80 可行,无法使用 SSL. 可否加入类似 gost -S=https://*.herkuapp.com 这种功能以使用 SSL 呢?

@ginuerzh
Copy link
Owner

如果你指的是想建立tls/ssl加密隧道连接,可以通过设置加密方式-m=tls来实现,-key, -cert参数可以用来设置自己的公钥和私钥文件。

@ARwMq9b6
Copy link
Author

@ginuerzh 感谢回复。

我不是这个意思,-m=tls 应该和 -m=aes-cfb-256 一样,是加密数据用的。

我意思是 gost -S=*.herkuapp.com:80 这样能看到以下信息(猜测这是 ws:// ,没加密协议,特征明显,担心被 GFW 识破):

[2015/7/29 14:11:34:101]
GET / HTTP/1.1
Host: *.herokuapp.com
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: *******************==


[2015/7/29 14:14:39:121]
HTTP/1.1 101 Switching Protocols
Connection: Upgrade
Upgrade: websocket
Sec-Websocket-Accept: ******************=
Via: 1.1 vegur

如果使用 wss:// 就是加密的,看不到以上明文信息,我想通过 wss: 使用 Heroku 和 Cloud9 IDE 的 WebSocket 防止被 GFW 识别。

@ginuerzh
Copy link
Owner

目前websocket方式不支持安全连接,后续会考虑添加

@ARwMq9b6
Copy link
Author

@ginuerzh 感谢回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants