zoukankan      html  css  js  c++  java
  • .../..../.-/-../---/.--/.../---/-.-./-.-/...

    github地址

    https://github.com/.../..../.-/-../---/.--/.../---/-.-./-.-/.../.../..../.-/-../---/.--/.../---/-.-./-.-/.../tree/master

    支持的加密方式

    https://github.com/.../..../.-/-../---/.--/.../---/-.-./-.-/.../.../..../.-/-../---/.--/.../---/-.-./-.-/.../wiki/Encryption

    下载后,安装

    [root@xxx .../..../.-/-../---/.--/.../---/-.-./-.-/...-master]# python3
    Python 3.6.2 (default, May 22 2018, 23:39:31) 
    [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> exit()
    [root@xxx .../..../.-/-../---/.--/.../---/-.-./-.-/...-master]#
    [root@xxx .../..../.-/-../---/.--/.../---/-.-./-.-/...-master]# python3 setup.py install

    启动命令

    python3 server.py -c .../..../.-/-../---/.--/.../---/-.-./-.-/....json -d start
    
    启动:service .../..../.-/-../---/.--/.../---/-.-./-.-/... start 
    停止:service .../..../.-/-../---/.--/.../---/-.-./-.-/... stop 
    重启:service .../..../.-/-../---/.--/.../---/-.-./-.-/... restart 
    状态:service .../..../.-/-../---/.--/.../---/-.-./-.-/... status

    创建命令文件

    cp /usr/local/python3/bin/ssserver /bin/ssserver

    前台运行

    ssserver -c /etc/.../..../.-/-../---/.--/.../---/-.-./-.-/....json

    后台运行

    ssserver -c /etc/.../..../.-/-../---/.--/.../---/-.-./-.-/....json -d start
    ssserver -c /etc/.../..../.-/-../---/.--/.../---/-.-./-.-/....json -d stop

    配置文件
    cat /etc/.../..../.-/-../---/.--/.../---/-.-./-.-/....json

    {
        "server":"111.11.11.14",
        "server_port":19253,
        "local_address":"127.0.0.1",
        "local_port":28352,
        "password":"6!,!?!.!0",
        "timeout":500,
        "method":"aes-128-cfb",
        "fast_open": true,
        "workers": 1
    }

    ssserver -c /etc/.../..../.-/-../---/.--/.../---/-.-./-.-/....json -d stop
    ssserver -c /etc/.../..../.-/-../---/.--/.../---/-.-./-.-/....json -d start

    [root@xxx ~]# cat /etc/.../..../.-/-../---/.--/.../---/-.-./-.-/....json
    {
    "server":"111.71.111.111",
    "server_port":16653,
    "local_address":"127.0.0.1",
    "local_port":28352,
    "password":"123456",
    "timeout":500,
    "method":"aes-128-cfb",
    "fast_open": true,
    "workers": 1
    }
    [root@xxx ~]#

    example

    [root@xxx .../..../.-/-../---/.--/.../---/-.-./-.-/...-master]# cat /etc/.../..../.-/-../---/.--/.../---/-.-./-.-/....json 
    {
        "server": "0.0.0.0",
        "server_ipv6": "::",
        "server_port": 13799,
        "local_address": "127.0.0.1",
        "local_port": 1081,
        "password": "204ef7431330c294",
        "timeout": 120,
        "udp_timeout": 60,
        "method": "aes-256-cfb",
        "protocol": "auth_aes128_sha1_compatible",
        "protocol_param": "",
        "obfs": "http_simple_compatible",
        "obfs_param": "",
        "dns_ipv6": false,
        "connect_verbose_info": 1,
        "redirect": "",
        "fast_open": false,
        "workers": 1
    
    }
    [root@xxx .../..../.-/-../---/.--/.../---/-.-./-.-/...-master]#

  • 相关阅读:
    GIT 基本语句
    SpringBoot查看哪些配置类自动生效
    LeetCode第一题 两数之和
    static{} java中的静态代码块
    mybatis引入mapper映射文件的4种方法(转)
    MySQL Charset/Collation(字符集/校对)(转)
    MySQL数据库的创建(详细)
    Eclipse出现Tomcat无法启动:Server Tomcat v8.5 Server at localhost failed to start问题
    判断一个int类型数字的奇偶性
    linux中安装erlang时使用make命令报错问题
  • 原文地址:https://www.cnblogs.com/sea-stream/p/14177060.html
Copyright © 2011-2022 走看看