使用 Rust 异步 (带 tokio) 编写的快速 SOCKS5 TCP 和 UDP 客户端/服务器实现
Fast SOCKS5 TCP and UDP client/server library for Rust async (Tokio)
async/.await SOCKS5 implementation.async/.await SOCKS4 Client implementation.async/.await SOCKS4a Client implementation.run_tcp_proxy for custom handling to build a router or to use a custom accelerated proxying method0x00)0x02)AuthMethod Traitauth_method_enums macro)IPv4, IPv6, and Domains types are supportedexamples are provided that can be run immediately:This library is maintained by anyip.io a residential and mobile socks5 proxy provider.
Open in crates.io.
Please check examples directory.
# Run client
RUST_LOG=debug cargo run --example client -- --socks-server 127.0.0.1:1337 --username admin --password password -a perdu.com -p 80
# Run server
RUST_LOG=debug cargo run --example server -- --listen-addr 127.0.0.1:1337 password -u admin -p password
# Test it with cURL
curl -v --proxy socks5://admin:[email protected]:1337 https://ipapi.co/json/Thanks to all these SOCKS5 projects
暂无开放 Issues,或尚未同步最近议题。