simple_socks5

Crates.iosimple_socks5
lib.rssimple_socks5
version0.1.2
created_at2025-09-27 14:37:33.102147+00
updated_at2025-09-28 14:17:28.966945+00
descriptionA simple, lightweight and async SOCKS5 proxy server library
homepagehttps://github.com/asaft29/simple_socks5
repositoryhttps://github.com/asaft29/simple_socks5
max_upload_size
id1857361
size60,504
Rares-Stefan Asaftei (asaft29)

documentation

https://docs.rs/simple_socks5

README

simple_socks5

Crates.io Docs.rs

simple_socks5 is a lightweight, asynchronous Rust library that makes it easy to run a SOCKS5 proxy server, following RFC 1928.

It’s designed to be used with web browsers as clients, and has been tested with Firefox and Chromium using both "No Authentication" and "Username/Password" authentication (RFC 1929).

Disclaimer: UDP is not yet fully supported. It will be added in the future, so do not use UDP for now—stick to TCP (CONNECT/BIND).

Example

A rather basic SOCKS5 proxy server is included in the repository:

cargo run --example simple_server --release

How to use

Add this to your Cargo.toml:

[dependencies]
simple_socks5 = "0.1"

Commit count: 0

cargo fmt