Giter VIP home page Giter VIP logo

shadowsocks-rust-1's Introduction

shadowsocks-rust

Build Status Build status crate

A rust port of shadowsocks, based on mio 0.5.x.

Build

Linux & macOS

# uncomment to compile with OpenSSL support
# export SS_FEATURES=openssl
curl https://raw.githubusercontent.com/loggerhead/shadowsocks-rust/master/build.sh -sSf | sh
./sslocal --version
./ssserver --version

Windows

  1. Install rust with MSVC ABI: https://www.rust-lang.org/en-US/downloads.html

  2. Install visual C++ build tools: http://landinghub.visualstudio.com/visual-cpp-build-tools

  3. Download source code and enter the root directory of it.

  4. Run following commands:

    cargo build --release --features sslocal

    You will find sslocal at target\release\ssserver.

Compare to Python Version

Features

Rust Python (2.9.0)
TCP & UDP support
TCP fast open wait mio support
Destination IP blacklist X
One time auth
Multiple encryption methods
Async UDP support X
IPv6 support untested
Windows compatible             buggy     need install crypto libs
Multiple servers support X

Encryption Methods

Both python and rust version supported

  • aes-128-ctr
  • aes-192-ctr
  • aes-256-ctr
  • aes-128-cfb
  • aes-256-cfb
  • aes-128-cfb1
  • aes-256-cfb1
  • aes-128-cfb8
  • aes-256-cfb8
  • salsa20
  • chacha20
  • rc4

Without OpenSSL

  • aes-128-ctr
  • aes-192-ctr
  • aes-256-ctr
  • rc4
  • hc128
  • salsa20
  • xsalsa20
  • chacha20
  • xchacha20
  • sosemanuk

TBD

  • test IPv6
  • fix very slow problem on windows (wait mio stable)
  • support TCP fast open

shadowsocks-rust-1's People

Contributors

loggerhead avatar wiremoons avatar

Watchers

zhangf avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.