GithubHelp home page GithubHelp logo

Comments (18)

ginuerzh avatar ginuerzh commented on May 10, 2024

websocket暂不支持加密,下个版本会加入

from gost.

OnionSalt avatar OnionSalt commented on May 10, 2024

多谢回复,还有个问题:
我换用-ss,提示client.go:107: Bad version,shadowsocks具体要怎么用呢?

from gost.

ginuerzh avatar ginuerzh commented on May 10, 2024

shadowsocks模式通过sm设置加密方式(默认为rc4-md5),sp设置加密密码(默认为[email protected]),
手机端信息填写要一致

from gost.

OnionSalt avatar OnionSalt commented on May 10, 2024

只能用手机?我用的win7,chrome浏览器,-ss不支持这个吗?

from gost.

ginuerzh avatar ginuerzh commented on May 10, 2024

shadowsocks模式与非shadowsocks模式是不兼容的,作为shadowsocks服务端时只能给shadowsocks客户端使用,其他(浏览器等)不能使用。如果想并存需要跑两个服务端

from gost.

OnionSalt avatar OnionSalt commented on May 10, 2024

我服务端和客户端都使用了-ss,所以模式应该没问题。另外,也就是说浏览器下不能使用shadowsocks模式吗?本人纯小白,对这些不是很懂啊。

from gost.

ginuerzh avatar ginuerzh commented on May 10, 2024

不知你说的服务端和客户端分别指的是哪里,我理解为服务端为远端(非本机),客户端指本机。
首先远端的服务端不要使用-ss参数,只有本地电脑上运行的gost才需要设,远端如果设置-ss参数,本地的gost的是无法去连接的

from gost.

OnionSalt avatar OnionSalt commented on May 10, 2024

我的服务端在cloud9,客户端自然是在本机啦。
如果我想使用shadowsocks模式,那我在服务端还是使用-ws吗?比如./gost -ws。或者不带参数?比如./gost

from gost.

ginuerzh avatar ginuerzh commented on May 10, 2024

对的服务端保持不变./gost -ws
客户端添加-ss参数

from gost.

OnionSalt avatar OnionSalt commented on May 10, 2024

多谢,还有个问题:
怎么停止服务端的gost呢?我现在完全没法改参数了,每次都提示:
main.go:52: listen tcp :8080: bind: address already in use
貌似服务端的gost一直在运行

from gost.

ginuerzh avatar ginuerzh commented on May 10, 2024

正常情况应该是不会出现这种情况的,
你可以在终端中运行 ps -ef | grep gost
如果有./gost 项,就使用命令 killall gost 就可以了

from gost.

OnionSalt avatar OnionSalt commented on May 10, 2024

用ps -ef看了下,是apache2占用8080端口了,估计是把,把它停掉就好了,但是shadowsocks模式依然不行,我是如下设置的:
服务端:
./gost -sp="abc" -ws
客户端:
gost.exe -L=":8899" -S="xxxxxxxxxxxxxxxxx.c9.io" -sp="abc" -ss

依然是连不上,命令行窗口还是返回client.go:107: Bad version

from gost.

OnionSalt avatar OnionSalt commented on May 10, 2024

用ps -ef看了下,是apache2占用8080端口了,估计是把,把它停掉就好了,但是shadowsocks模式依然不行,我是如下设置的:
服务端:
./gost -sp="abc" -ws
客户端:
gost.exe -L=":8899" -S="xxxxxxxxxxxxxxxxx.c9.io" -sp="abc" -ss

依然是连不上,命令行窗口还是返回client.go:107: Bad version

from gost.

ginuerzh avatar ginuerzh commented on May 10, 2024

你的手机上是怎么设置的

from gost.

OnionSalt avatar OnionSalt commented on May 10, 2024

我没在手机上用,我在台式机win7,chrome浏览器

from gost.

ginuerzh avatar ginuerzh commented on May 10, 2024

浏览器是不能使用shadowsocks模式的,不要使用ss参数,ss参数是给手机连接使用的

from gost.

OnionSalt avatar OnionSalt commented on May 10, 2024

原来如此,多谢啊,希望能尽快看到下个能设置密码的websocket版本

from gost.

bobyangchina avatar bobyangchina commented on May 10, 2024

不错的应用,远程服务端应该完善一下,如设置密码等。
大家如果想真正依赖它翻,部署到vps应该比云稳定些。
谢谢开发者!!!

from gost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.