hickory-dns
– Useshickory-resolver
as DNS resolver instead oftokio
‘s builtin.local-http
– Allow using HTTP protocol forsslocal
local-http-native-tls
– Support HTTPS withnative-tls
local-http-rustls
– Support HTTPS withrustls
local-tunnel
– Allow using tunnel protocol forsslocal
local-socks4
– Allow using SOCKS4/4a protocol forsslocal
local-redir
– Allow using redir (transparent proxy) protocol forsslocal
local-dns
– Allow using dns protocol forsslocal
, serves as a DNS server proxying queries to local or remote DNS servers by ACL ruleslocal-fake-dns
– FakeDNS, allocating an IP address for each individual Query from a specific IP poollocal-tun
– TUN interface support forsslocal
local-online-config
– SIP008 Online Configuration Deliverystream-cipher
– Enable deprecated stream ciphers. WARN: stream ciphers are UNSAFE!aead-cipher-extra
– Enable non-standard AEAD ciphersaead-cipher-2022
– Enable AEAD-2022 ciphers (SIP022)aead-cipher-2022-extra
– Enable AEAD-2022 extra ciphers (non-standard ciphers)
Memory Allocators
This project uses system (libc) memory allocator (Rust’s default). But it also allows you to use other famous allocators by features:
jemalloc
– Uses jemalloc as global memory allocatormimalloc
– Uses mi-malloc as global memory allocatortcmalloc
– Uses TCMalloc as global memory allocator. It tries to link system-wide tcmalloc by default, use vendored from source withtcmalloc-vendored
.snmalloc
– Uses snmalloc as global memory allocatorrpmalloc
– Uses rpmalloc as global memory allocator
crates.io
# Install from crates.io
cargo install shadowsocks-rust
then you can find sslocal
and ssserver
in $CARGO_HOME/bin
.
Install Using Homebrew
For macOS and Linux, you can install it using Homebrew:
brew install shadowsocks-rust
For more information click here.