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
75efb498e3
|
11 years ago | |
---|---|---|
m4 | 11 years ago | |
.gitignore | 11 years ago | |
.travis.yml | 11 years ago | |
COPYING | 12 years ago | |
INSTALL | 12 years ago | |
Makefile.am | 11 years ago | |
Makefile.in | 11 years ago | |
README.md | 11 years ago | |
aclocal.m4 | 11 years ago | |
autogen.sh | 12 years ago | |
config.guess | 11 years ago | |
config.h.in | 12 years ago | |
config.sub | 11 years ago | |
configure | 11 years ago | |
configure.ac | 11 years ago | |
depcomp | 11 years ago | |
encrypt.c | 11 years ago | |
encrypt.h | 11 years ago | |
install-sh | 11 years ago | |
jconf.c | 11 years ago | |
jconf.h | 11 years ago | |
json.c | 11 years ago | |
json.h | 11 years ago | |
local.c | 11 years ago | |
local.h | 11 years ago | |
ltmain.sh | 11 years ago | |
md5.c | 12 years ago | |
md5.h | 12 years ago | |
missing | 11 years ago | |
rc4.c | 12 years ago | |
rc4.h | 12 years ago | |
server.c | 11 years ago | |
server.h | 11 years ago | |
socks5.h | 12 years ago | |
utils.c | 11 years ago | |
utils.h | 11 years ago |
README.md
shadowsocks-libev
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