ssr使用备忘


一、配置文件格式

{
    "server":"45.32.35.126",
    "server_port":55556,
    "local_address":"0.0.0.0",
    "local_port":18888,
    "password":"max17743777489",
    "timeout":120,
    "method":"aes-256-cfb",
    "protocol": "auth_sha1_compatible",
    "protocol_param": "",
    "obfs": "http_simple_compatible",
    "obfs_param": "",
    "fast_open":false
}

二、协议和混淆知识

SSR混淆使用方法
ShadowsocksR 协议插件文档

问题

1、如下报错,解决方法是将协议插件和混淆插件在服务端和客户端上修改为一致。

2016-11-20 19:48:04 ERROR tcprelay.py:884 can not parse header when handling connection from ::ffff:1.xx.xx.111:11
2016-11-20 19:48:05 WARNING common.py:228 unsupported addrtype 17, maybe wrong password or encryption method
2016-11-20 19:48:05 WARNING tcprelay.py:389 Protocol ERROR, TCP ogn data

问题参考

https://github.com/breakwa11/shadowsocks-rss/issues/403
https://github.com/breakwa11/shadowsocks-rss/issues/248
https://github.com/breakwa11/shadowsocks-rss/issues/361
https://github.com/breakwa11/shadowsocks-rss/issues/248