better-socks 0.1.2

Asynchronous SOCKS proxy support for Rust
Documentation

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

  • CONNECT command
  • BIND command
  • ASSOCIATE command (UDP relay via udp::Socks5UdpFramed)
  • Username/password authentication
  • GSSAPI authentication
  • Asynchronous DNS resolution (tokio::net::lookup_host)
  • Chain proxies (see example)
  • 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 file for details.

Acknowledgments

Full crate diagrams: ARCHITECTURE.md.