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

  • 相关阅读:
    Web负载均衡的几种实现方式
    Apache和Nginx的区别
    Nginx和Apache区别
    Git 使用中显示“Another git process seems to be running in this repository...”问题解决
    上传本地代码到gitHub过程详解
    MySQL数据库中varchar与char类型的区别
    正则表达式中/i,/g,/ig,/gi,/m的区别和含义
    内行看门道:看似“佛系”的《QQ炫舞手游》,背后的音频技术一点都不简单
    惧怕羊毛党?腾讯云为你保驾护航
    教你1天搭建自己的“微视”
  • 原文地址:https://www.cnblogs.com/sea-stream/p/14177060.html
Copyright © 2011-2022 走看看