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]#

  • 相关阅读:
    SAP ABAP Development Tools in Eclipseのセットアップ
    SET UPDATE TASK LOCAL (ローカル更新 )
    SEARCH(文字の検索)
    OVERLAY(文字の上書き)
    ULINE(插入水平线)
    SKIP(插入空行)
    NO-ZERO(空格补全)
    CONVERT TEXT(转换为可排序格式)
    递归获取子节点
    生活小记
  • 原文地址:https://www.cnblogs.com/sea-stream/p/14177060.html
Copyright © 2011-2022 走看看