ss-rs

Crates.ioss-rs
lib.rsss-rs
version0.2.20
sourcesrc
created_at2022-05-21 14:28:26.949043
updated_at2023-04-09 07:58:21.271254
descriptionAn unofficial shadowsocks implementation that can work with official shadowsocks.
homepage
repositoryhttps://github.com/ocfbnj/ss-rs
max_upload_size
id590737
size225,846
(ocfbnj)

documentation

README

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

Commit count: 98

cargo fmt