Skip to content

jamesruan/shadowsocks-bis-erlang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shadowsocks-bis-erlang

This is a 'bis' version of original shadowsocks in Erlang implementation shadowsocks-erlang.

Thanks to the original designer of shadowsocks: clowwindy, and the Erlang implementation writer Yongke.

Usage

Make sure your have Erlang/OTP in your system, and rebar is needed to.

Make release:

First edit config/local.config and config/remote.config, then

rebar3 release -n sslocal
rebar3 release -n ssremote

_build/default/rel/sslocal/bin/sslocal start

Configuration

  • Config files

    local.config, remote.config

  • Descriptions

     {shadowsocks,
     [
       {type, local},
       {local_port,1080},
       {server,"localhost"},
       {server_port,8388},
       {password,"barfoo!"},
       {method,rc4}
     ]}

{type, local} is for client, {type, remote} is for server side.

BIS:

RC4 stream cipher is implemented with random IV and serve as default cipher. Upgrade to use Rebar3.

Features:

IPv6 address supported. IPv6 domain resolve supported.

TODOs

  • UDP support
  • Add more obfuscation

License

You are free to use, reuse and abuse all the code in this project, with following conditions are met:.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

A shadowsocks-modifed version in Erlang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 100.0%