#socks5-proxy #proxy #sock #shadowsocks #firewall #ss #proxy-server

bin+lib ss-rs

An unofficial shadowsocks implementation that can work with official shadowsocks

22 releases

0.2.20 Apr 9, 2023
0.2.19 Feb 17, 2023
0.2.16 Aug 27, 2022
0.2.13 Jun 11, 2022
0.1.0 May 21, 2022

#885 in Command line utilities

Download history 128/week @ 2024-02-03 105/week @ 2024-02-24 3/week @ 2024-03-02 128/week @ 2024-03-23 4/week @ 2024-03-30

132 downloads per month

MIT and GPL-2.0 licenses

96KB
2.5K SLoC

ss-rs

Cargo Build & Test Crates.io

An unofficial shadowsocks implementation that can work with official shadowsocks.

Features

Get Started

Server

Start a server listening on port 5421 using chacha20-ietf-poly1305 AEAD cipher with password ocfbnj.

ss-rs -s 0.0.0.0:5421 -k ocfbnj -m chacha20-ietf-poly1305

Client

Start a client connecting to the ocfbnj.cn.

The client listens on port 1080 for incoming SOCKS5 connections and uses chacha20-ietf-poly1305 AEAD cipher with password ocfbnj.

ss-rs -s ocfbnj.cn:5421 -l localhost:1080 -k ocfbnj -m chacha20-ietf-poly1305

How to build

Prerequisites

  • Cargo installed (See this).

Building with Cargo

  1. Clone

    git clone https://github.com/ocfbnj/ss-rs
    cd ss-rs
    
  2. Build

    cargo b --release
    

    Now you can find the binary in ./target/release/ss-rs.

References

Dependencies

~11–24MB
~294K SLoC