Total Pageviews

Monday 29 August 2016

ShadowSocks的Elixir版

A ShadowSocks server implemented in Elixir.
This is only a server. You still need a client.

Usage

Simple run:
$ mix run --no-halt

# or in console
$ iex -S mix
Make a package:
$ mix deps.get
$ MIX_ENV=prod mix release
$ cp rel/shadowsocks
$ bin/shadowsocks start
See also: exrm

Configuration

ConfigNameDefault value
portSHADOW_PORT8388
passwordSHADOW_PASS"password"
You can do config while:
# releasing
$ SHADOW_PORT=8388 MIX_ENV=prod mix release

# or running
$ SHADOW_PASS=mypass bin/shadowsocks start

Limitation

  • The only encryption method supported is aes_cfb, the default method is aes-128-cfb
  • Only support TCP (for now)
from https://github.com/Kabie/shadowsocks,
https://libraries.io/github/Kabie/shadowsocks