mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-21 14:33:55 +00:00
68f43414ccde09780b9349cc92dec4fdd748dd72
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
Languages
C++
63.3%
Python
11.7%
C
10.1%
Shell
9.2%
CMake
5.2%
Other
0.4%
