ZhuFaner / shadowsocks-manage-system

科学上网管理系统
813 stars 206 forks source link

麻烦支持一下shadowsocks-libev #4

Open LBYPatrick opened 7 years ago

LBYPatrick commented 7 years ago

我知道shadowsocks-libev默认只能使用单用户,但是允许用户多开几个ss-server实例来实现多用户(我现在就是每个用户一个实例,因为shadowsocks-libev的效率实在太高)。请求支持

johnlui commented 7 years ago

上午测试了一下,shadowsocks-libev 号称 manager API,实际使用 ss-manager 跑起来之后,add remove 等命令无法识别,shadowsocks-libev 也没有自己的管理 api 文档 🚗

LBYPatrick commented 7 years ago
maintained by Max Lv <max.c.lv@gmail.com> and Linus Yang <laokongzi@gmail.com>

  usage:

    ss-manager

       -s <server_host>           Host name or IP address of your remote server.
       -p <server_port>           Port number of your remote server.
       -l <local_port>            Port number of your local server.
       -k <password>              Password of your remote server.
       -m <encrypt_method>        Encrypt method: table, rc4, rc4-md5,
                                  aes-128-cfb, aes-192-cfb, aes-256-cfb,
                                  aes-128-ctr, aes-192-ctr, aes-256-ctr,
                                  bf-cfb, camellia-128-cfb, camellia-192-cfb,
                                  camellia-256-cfb, cast5-cfb, des-cfb,
                                  idea-cfb, rc2-cfb, seed-cfb, salsa20 and
                                  chacha20.
                                  The default cipher is rc4-md5.

       [-a <user>]                Run as another user.
       [-f <pid_file>]            The file path to store pid.
       [-t <timeout>]             Socket timeout in seconds.
       [-c <config_file>]         The path to config file.
       [-n <number>]              Max number of open files.
       [-i <interface>]           Network interface to bind.
       [-b <local_address>]       Local address to bind.

       [-u]                       Enable UDP relay.
       [-U]                       Enable UDP relay and disable TCP relay.
       [-A]                       Enable onetime authentication.

       [--manager-address <addr>] UNIX domain socket address.
       [--executable <path>]      Path to the executable of ss-server.
       [--mtu <MTU>]              MTU of your network interface.
       [--mptcp]                  Enable Multipath TCP on MPTCP Kernel.
       [--plugin <name>]          Enable SIP003 plugin. (Experimental)
       [--plugin-opts <options>]  Set SIP003 plugin options. (Experimental)

       [-v]                       Verbose mode.
       [-h, --help]               Print this message.

好了,去吧。