Coder Social home page Coder Social logo

socks5 auth support about clash HOT 7 CLOSED

dreamacro avatar dreamacro commented on June 23, 2024
socks5 auth support

from clash.

Comments (7)

beyondkmp avatar beyondkmp commented on June 23, 2024

你这个是什么软件啊

from clash.

metowolf avatar metowolf commented on June 23, 2024

@beyondkmp Surge for mac

from clash.

Dreamacro avatar Dreamacro commented on June 23, 2024

SOCK5 的鉴权需要额外一次 RTT,这个情况你知道吗。这个功能不是很急,可能之后有空了在做。

from clash.

beyondkmp avatar beyondkmp commented on June 23, 2024

SOCK5 的鉴权需要额外一次 RTT,这个情况你知道吗。这个功能不是很急,可能之后有空了在做。

这个我可以写下

from clash.

beyondkmp avatar beyondkmp commented on June 23, 2024

@metowolf 有空可以帮忙测试下。

from clash.

metowolf avatar metowolf commented on June 23, 2024

@beyondkmp
使用 https://github.com/ginuerzh/gost 做服务端,测试下面情况均通过
非常感谢

gost clash
no-auth(0x00) Y
user/pass(0x02) Y
tls(0x80) Y
tls-auth(0x82) Y

no-auth(0x00)

# gost
gost -L=socks5://:1080
# clash
- { name: "socks", type: socks5, server: 127.0.0.1, port: 1080}

user/pass(0x02)

# gost
gost -L=socks5://deercloud:123456@:1080
# clash
- { name: "socks", type: socks5, server: 127.0.0.1, port: 1080, username: 'deercloud', password: '123456'}

tls(0x80)

# gost
gost -L=socks5+tls://:1080
# clash
- { name: "socks", type: socks5, server: 127.0.0.1, port: 1080, tls: true, skip-cert-verify: true }

tls-auth(0x82)

# gost
gost -L=socks5+tls://deercloud:123456@:1080
# clash
- { name: "socks", type: socks5, server: 127.0.0.1, port: 1080, username: 'deercloud', password: '123456', tls: true, skip-cert-verify: true }

测试命令

curl -x 'socks5h://127.0.0.1:7891' https://www.cloudflare.com/cdn-cgi/trace

from clash.

Dreamacro avatar Dreamacro commented on June 23, 2024

这个功能下个版本 release 后支持

from clash.

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.