Crates.io | fast-socks5 |
lib.rs | fast-socks5 |
version | |
source | src |
created_at | 2020-01-13 09:55:04.422205 |
updated_at | 2025-02-06 08:11:48.706362 |
description | Fast SOCKS5 client/server implementation written in Rust async/.await (tokio) |
homepage | |
repository | https://github.com/dizda/fast-socks5 |
max_upload_size | |
id | 198029 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This library is maintained by anyip.io a residential and mobile socks5 proxy provider.
An async
/.await
SOCKS5 implementation.
An async
/.await
SOCKS4 Client implementation.
An async
/.await
SOCKS4a Client implementation.
No unsafe code
Built on top of the Tokio runtime
Ultra lightweight and scalable
No system dependencies
Cross-platform
Infinitely extensible, explicit server API based on typestates for safety
run_tcp_proxy
for custom handling to build a router or to use a custom accelerated proxying methodAuthentication methods:
0x00
)0x02
)AuthMethod
Trait
auth_method_enums
macro)UDP is supported
All SOCKS5 RFC errors (replies) should be mapped
IPv4
, IPv6
, and Domains
types are supported
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:password@127.0.0.1:1337 https://ipapi.co/json/
Thanks to all these SOCKS5 projects