wireproxy icon indicating copy to clipboard operation
wireproxy copied to clipboard

Change Socks5 Server Library

Open ElDavoo opened this issue 3 years ago • 10 comments

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

ElDavoo avatar Mar 27 '22 21:03 ElDavoo

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

whyvl avatar Mar 27 '22 21:03 whyvl

first thing tomorrow

no rush required :)

ElDavoo avatar Mar 27 '22 21:03 ElDavoo

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

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

fscarmen avatar Mar 28 '22 02:03 fscarmen

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.

whyvl avatar Mar 28 '22 02:03 whyvl

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

whyvl avatar Mar 28 '22 17:03 whyvl

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

ElDavoo avatar Mar 28 '22 17:03 ElDavoo

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.

whyvl avatar Mar 29 '22 02:03 whyvl

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

RoganDawes avatar Apr 05 '22 10:04 RoganDawes

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.

JJRcop avatar Oct 07 '22 07:10 JJRcop

I should have left this comment on #30

JJRcop avatar Oct 07 '22 09:10 JJRcop