Alighieri: Asynchronous SOCKS5 Proxy Server
A lightweight, intuitive, and efficient asynchronous SOCKS5 proxy server written in Rust on the Tokio runtime. Features explicit deny-by-default access control, Argon2id authentication, a Dante-inspired rule language, automatic Let's Encrypt TLS, and native Windows Service, Linux systemd, and macOS launchd operation.
High-Performance Asynchronous Architecture
Alighieri uses Rust and Tokio to manage TCP streams and UDP associations with asynchronous I/O. Configurable connection, authentication, and bandwidth limits control resource use; blocking work such as operating-system DNS resolution runs on dedicated blocking workers.
Asynchronous SOCKS5 Transport & Policy Pipeline
Asynchronous Non-Blocking I/O
Uses Tokio tasks for asynchronous TCP and UDP relaying. The repository includes reproducible throughput, handshake, and UDP benchmarks; results depend on workload, configuration, and host resources.
Dante-Inspired Rule Language
Adopts an intuitive, line-oriented configuration structure inspired by Dante (client pass/block and socks pass/block), providing explicit, deny-by-default access control without legacy bloat.
Authentication & Security
Supports anonymous mode and RFC 1929 username/password authentication backed by Argon2id password hashing. Includes token-bucket bandwidth policing and connection rate limiting.
Automated Let's Encrypt TLS
Supports a TLS listener with automated ACME certificate issuance and renewal via TLS-ALPN-01. TLS protects authentication, SOCKS5 control, and TCP CONNECT traffic. UDP relay datagrams use separate sockets outside the TLS stream.
Windows, Linux & macOS Native
First-class support on Windows (console process, native Windows Service with Windows Event Log integration), Linux (systemd unit, journald logging, and container images), and macOS (console binary, Homebrew tap, and launchd service templates).
ProxiFyre Companion & RDP Egress
Functions as the ideal server companion to ProxiFyre. Features optional Windows RDP egress to multiplex TCP streams through existing Remote Desktop sessions without opening remote ports.
Quick Installation & Configuration
Install Alighieri via Homebrew on macOS, Cargo from crates.io, run pre-built binaries, or use the interactive local configuration wizard:
# Install on macOS via official Homebrew tap
brew install wiresock/tap/alighieri
# Or install from crates.io using Rust toolchain
cargo install alighieri --locked
# Launch the local configuration wizard in your browser
alighieri config wizard --output alighieri.conf
# Validate configuration file without starting server
alighieri --check --json alighieri.conf
# Start proxy server on default port 1080
alighieri alighieri.conf
# Verify connectivity through SOCKS5 listener
curl --socks5-hostname 127.0.0.1:1080 https://example.com