sticnarf / tokio-socks

Asynchronous SOCKS proxy support for Rust.
MIT License
68 stars 30 forks source link

Add SOCKS4 support #33

Open AlyoshaVasilieva opened 2 years ago

AlyoshaVasilieva commented 2 years ago

I've only implemented what I needed (no bind command or userid support), it's dirtier than I'd like, and I didn't add any tests. I've also never written SOCKS-related code before. Seems to work so far, though. (tested by quickly adding it to reqwest)

Since I only need this for a random side project I don't expect that I'll clean this up any. Hopefully you find it useful in some way.