#sock #proxy #firewall #connect #associate #standard

socks-lib

A library compliant with the SOCKS protocol standard

5 releases

Uses new Rust 2024

0.1.4 Mar 28, 2025
0.1.3 Mar 21, 2025
0.1.2 Mar 21, 2025
0.1.1 Mar 20, 2025
0.1.0 Nov 12, 2024

#1545 in Network programming

Download history 9/week @ 2025-01-12 1/week @ 2025-01-19 3/week @ 2025-01-26 397/week @ 2025-02-02 574/week @ 2025-02-09 327/week @ 2025-02-16 190/week @ 2025-02-23 229/week @ 2025-03-02 174/week @ 2025-03-09 369/week @ 2025-03-16 303/week @ 2025-03-23 161/week @ 2025-03-30 98/week @ 2025-04-06 101/week @ 2025-04-13 24/week @ 2025-04-20 25/week @ 2025-04-27

248 downloads per month
Used in ombrac-client

Apache-2.0

40KB
880 lines

SOCKS

SOCKS Protocol Library in Rust

Example

SOCKS5 Connect Server

cargo run --example connect

SOCKS5 UDP Associate Server

cargo run --example associate

Usage

[dependencies]
socks-lib = { version = "*" }

Protocol Specification

RFC 1928: SOCKS Protocol Version 5

License

Licensed under the Apache-2.0 License.

Dependencies

~3–11MB
~101K SLoC