psocks 0.1.0

Experimental async SOCKS5 (TCP/UDP) proxy server based on fast-socks5, featuring allowlist-based access control (drop everything but allowed by user)
psocks-0.1.0 is not a library.

psocks

Experimental async SOCKS5 (TCP/UDP) proxy server based on fast-socks5, featuring allowlist-based access control (drop everything but allowed by user)

Roadmap

  • Range support
  • Local Web-API
    • Block stats
    • In-memory list update (without server restart)
    • Performance optimization

Usage

RUST_LOG=trace cargo run -- -a=/path/to/allow1.txt \
                            -a=http://localhost/allow2.txt \
                            no-auth

Allow list example

# /path/to/allow1.txt

// exact match
duckduckgo.com

// google.com with subdomains
.google.com

// IP resolved
1.2.3.4