You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Max Lv 20d0fd6946 make sure to initialize variables 11 years ago
m4 add server implementation 11 years ago
.gitignore add server implementation 11 years ago
.travis.yml try to fix libev 11 years ago
COPYING fix autoconf 11 years ago
INSTALL fix autoconf 11 years ago
Makefile.am add server implementation 11 years ago
Makefile.in add server implementation 11 years ago
README.md update README 11 years ago
aclocal.m4 add server implementation 11 years ago
autogen.sh fix autoconf 11 years ago
config.guess add server implementation 11 years ago
config.h.in fix autoconf 11 years ago
config.sub add server implementation 11 years ago
configure add server implementation 11 years ago
configure.ac add json config support 11 years ago
depcomp add server implementation 11 years ago
encrypt.c refine the code structure 11 years ago
encrypt.h add json config support 11 years ago
install-sh add server implementation 11 years ago
jconf.c fix the bug in server end 11 years ago
jconf.h update 11 years ago
json.c add json config support 11 years ago
json.h add json config support 11 years ago
local.c fix the bug in server end 11 years ago
local.h add json config support 11 years ago
ltmain.sh add server implementation 11 years ago
md5.c add missing files 11 years ago
md5.h add missing files 11 years ago
missing add server implementation 11 years ago
rc4.c add missing files 11 years ago
rc4.h add missing files 11 years ago
server.c make sure to initialize variables 11 years ago
server.h update 11 years ago
socks5.h update to the latest libev 11 years ago
utils.c fix encryption context 11 years ago
utils.h fix the bug in server end 11 years ago

README.md

shadowsocks-libev

Build Status

Intro

Shadowsocks-libev is a lightweight secured scoks5 proxy for embedded devices like routers and mobile phones.

It is a port of shadowsocks with only client part ported.

To setup your own server, please refer to shadowsocks ports for more information.

Features

Shadowsocks-libev is writen in C and only depends on libev.

When statically linked and packaged for OpenWRT, the total package size is 23KB. In normal usage, the memory consumption is about 600KB and the CPU utilization is no more than 5% on a low-end router (Buffalo WHR-G300N V2 with a 400MHz MIPS CPU, 32MB memory and 4MB flash).

Installation

Build the binary like this:

    sudo apt-get install build-essential autoconf libtool libev-dev
    ./configure && make

Usage

usage:

    ss -s server_host -p server_port -l local_port -k password
       [-m encrypt_method] [-f pid_file] [-t timeout] [-c config_file]

options:

    encrypt_method:     table, rc4
          pid_file:     valid path to the pid file
           timeout:     socket timeout in senconds
       config_file:     json format config file