mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #154] socks5 fail #86
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cole-dda on GitHub (Sep 30, 2018).
Original GitHub issue: https://github.com/snail007/goproxy/issues/154
./proxy socks --always -T ssh -P "192.168.0.2:22" -u root -D xxxxx -t tcp -p "127.0.0.1:1080"
开启socks5代理,但是客户端连接的时候,goproxy显示下面的异常
handshake fail, proxy: SOCKS5 proxy at cn.bing.com:80 has unexpected version 60
通过查看代码,可能是utils/socks/client.go 中处理错误了。
如果parent 是ssh,应该是直接访问,而不应该再使用socks5协议去访问了。
文档没有同步,如果是socks的,ssh的密码参数应该为"-D"而不是"-A"
@snail007 commented on GitHub (Oct 1, 2018):
使用错误,上级是ssh,上级不需要启动goproxy。仔细看手册。另外参数说明最新手册已经更正。