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

Change Socks5 Server Library #15

Open
ElDavoo opened this issue Mar 27, 2022 · 10 comments
Open

Change Socks5 Server Library #15

ElDavoo opened this issue Mar 27, 2022 · 10 comments
Labels
enhancement New feature or request

Comments

@ElDavoo
Copy link

ElDavoo commented Mar 27, 2022

Hi,
As you can see in the go.mod file, wireproxy currently uses armon/go-socks5, which is outdated (no updates in 6 years), and does not support BIND and ASSOCIATE commands.
I found two libraries that can be used as replacement: wzshiming/socks5 and haochen233/socks5.
Let me know what you think

@pufferffish pufferffish added the enhancement New feature or request label Mar 27, 2022
@pufferffish
Copy link
Owner

wzshiming/socks5 seems promising. I'll have a look first thing tomorrow.

@ElDavoo
Copy link
Author

ElDavoo commented Mar 27, 2022

first thing tomorrow

no rush required :)

@fscarmen
Copy link
Contributor

wzshiming/socks5 seems promising. I'll have a look first thing tomorrow.

How about gost,https://github.com/ginuerzh/gost

@pufferffish
Copy link
Owner

wzshiming/socks5 seems promising. I'll have a look first thing tomorrow.

How about gost,https://github.com/ginuerzh/gost

gost appears to be an application of its own rather than a plug and play library like what @ElDavoo suggested, so I'm not sure how wireproxy would play nicely with it.

@pufferffish
Copy link
Owner

@ElDavoo would you happen to know any utilities that would aid me in testing SOCKS5 BIND and ASSOCIATE commands?

@ElDavoo
Copy link
Author

ElDavoo commented Mar 28, 2022

I only found (untested) this one https://github.com/txthinking/testsocks5

@pufferffish
Copy link
Owner

Hmm, I can't really find an established application that implements socks5 BIND and ASSOCIATE for me to test the features properly. I think I will hold this off until then.

@RoganDawes
Copy link

Nice thing about the txthinking implementation is that it supports UDP as well.

@JJRcop
Copy link

JJRcop commented Oct 7, 2022

Seems like https://github.com/txthinking/testsocks5 can help test. It has been archived since a week ago and merged into a monolithic debug tool, but the standalone version still works without downloading a lot of dependencies.

@pufferffish pufferffish reopened this Oct 7, 2022
@JJRcop
Copy link

JJRcop commented Oct 7, 2022

I should have left this comment on #30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
5 participants