|
|
@ -20,11 +20,12 @@ Features |
|
|
|
-------- |
|
|
|
|
|
|
|
Shadowsocks-libev is writen in C and only depends on |
|
|
|
[libev](http://software.schmorp.de/pkg/libev.html). 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). |
|
|
|
[libev](http://software.schmorp.de/pkg/libev.html). |
|
|
|
|
|
|
|
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 |
|
|
|
------------ |
|
|
@ -40,10 +41,16 @@ Usage |
|
|
|
----- |
|
|
|
|
|
|
|
``` |
|
|
|
usage: ss -s server_host -p server_port -l local_port |
|
|
|
-k password [-m encrypt_method] [-f pid_file] |
|
|
|
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 |
|
|
|
|
|
|
|
info: |
|
|
|
-m: accept two encrypt methods, "table" or "rc4" |
|
|
|
-f: run in backgroud, with a valid path to the pid_file |
|
|
|
``` |