Cyber security

Shadowsocks : The Ultimate Guide To Features, Installation, And Configuration

  • hickory-dns – Uses hickory-resolver as DNS resolver instead of tokio‘s builtin.
  • local-http – Allow using HTTP protocol for sslocal
    • local-http-native-tls – Support HTTPS with native-tls
    • local-http-rustls – Support HTTPS with rustls
  • local-tunnel – Allow using tunnel protocol for sslocal
  • local-socks4 – Allow using SOCKS4/4a protocol for sslocal
  • local-redir – Allow using redir (transparent proxy) protocol for sslocal
  • local-dns – Allow using dns protocol for sslocal, serves as a DNS server proxying queries to local or remote DNS servers by ACL rules
  • local-fake-dns – FakeDNS, allocating an IP address for each individual Query from a specific IP pool
  • local-tunTUN interface support for sslocal
  • local-online-config – SIP008 Online Configuration Delivery
  • stream-cipher – Enable deprecated stream ciphers. WARN: stream ciphers are UNSAFE!
  • aead-cipher-extra – Enable non-standard AEAD ciphers
  • aead-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 allocator
  • mimalloc – Uses mi-malloc as global memory allocator
  • tcmalloc – Uses TCMalloc as global memory allocator. It tries to link system-wide tcmalloc by default, use vendored from source with tcmalloc-vendored.
  • snmalloc – Uses snmalloc as global memory allocator
  • rpmalloc – 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.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

1 hour ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

2 hours ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

7 hours ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

8 hours ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

9 hours ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

10 hours ago