# better-socks
Asynchronous SOCKS5 client for Tokio. This is a fork
Username/password authentication (RFC 1929) is sent in **cleartext** to the
proxy. This crate does not provide TLS-to-proxy.
## Features
- [x] `CONNECT` command
- [x] `BIND` command
- [x] `ASSOCIATE` command (UDP relay via `udp::Socks5UdpFramed`)
- [x] Username/password authentication
- [ ] GSSAPI authentication
- [x] Asynchronous DNS resolution (`tokio::net::lookup_host`)
- [x] Chain proxies ([see example](examples/chainproxy.rs))
- [ ] SOCKS4
The `tor` feature enables Tor `RESOLVE` / `RESOLVE_PTR` commands. It has no
extra dependencies; the proxy must implement those extensions.
## License
This project is licensed under the Apache License, Version 2.0 — see the [LICENSE](LICENSE)
file for details.
## Acknowledgments
* [sticnarf/tokio-socks](https://github.com/sticnarf/tokio-socks)
* [sfackler/rust-socks](https://github.com/sfackler/rust-socks)
Full crate diagrams: [ARCHITECTURE.md](ARCHITECTURE.md).