mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-21 22:43:48 +00:00
e28a8bb2beb7021052aef9d52f805fb83c0094ce
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 binary size is 23KB. In normal usage, the memory consumption is about 600KB and the CPU utilization is no more than 5%, which is tested in 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]
info:
-m: accept two encrypt methods, "table" or "rc4"
-f: run in backgroud, with a valid path to the pid_file
Languages
C++
63.3%
Python
11.7%
C
10.1%
Shell
9.2%
CMake
5.2%
Other
0.4%