shadowsocksrr / shadowsocksr-libev

GNU General Public License v3.0
641 stars 433 forks source link

auth_aes128_md5 无法使用 #25

Open redapple0204 opened 6 years ago

redapple0204 commented 6 years ago

您好 我使用的开启命令是

ss-redir -o tls1.2_ticket_auth -O auth_aes128_md5 -g removed -s removed -p removed -l 1080 -b 127.0.0.1 -k removed -m aes-256-ctr

但是执行完以后错误为:Protocol not available

我的版本为2.5.6

用python版本开启却没有问题

sudo python3 ./shadowsocksr/shadowsocks/local.py -o tls1.2_ticket_auth -O auth_aes128_md5 -g removed -s removed -p removed -l 1080 -b 127.0.0.1 -k removed -m aes-256-ctr -d start

redapple0204 commented 6 years ago

注:服务器还有一个"protocolparam"我没有添加上去,因为我不知道在命令行中的参数是啥 但是我尝试写了配置文件的时候加上去了,也是一样的报错

redapple0204 commented 6 years ago

还有,配置文件我是这样写的

{ "server":"removed", "server_port":removed, "local_port":"1080", "password":"removed", "method":"aes-256-ctr", "protocol":"auth_aes128_md5", "obfs":"tls1.2_ticket_auth", "obfsparam":"removed", }

日志如下

2018-02-05 08:03:46 INFO: protocol auth_aes128_md5 2018-02-05 08:03:46 INFO: protocol_param (null) 2018-02-05 08:03:46 INFO: method aes-256-ctr 2018-02-05 08:03:46 INFO: obfs tls1.2_ticket_auth 2018-02-05 08:03:46 INFO: obfs_param (null) 2018-02-05 08:03:46 INFO: initializing ciphers... aes-256-ctr 2018-02-05 08:03:46 INFO: tcp port reuse enabled 2018-02-05 08:03:46 INFO: listening at 127.0.0.1:1080 2018-02-05 08:03:46 ERROR: client_decode 2018-02-05 08:03:48 ERROR: client_decode 2018-02-05 08:03:48 ERROR: client_decode 2018-02-05 08:03:48 ERROR: client_decode 2018-02-05 08:03:48 ERROR: client_decode 2018-02-05 08:03:48 ERROR: client_decode 2018-02-05 08:03:48 ERROR: client_decode 2018-02-05 08:03:49 ERROR: client_decode 2018-02-05 08:03:53 ERROR: client_decode 2018-02-05 08:03:53 ERROR: client_decode 2018-02-05 08:03:53 ERROR: client_decode 2018-02-05 08:03:53 ERROR: client_decode 2018-02-05 08:03:53 ERROR: client_decode 2018-02-05 08:03:53 ERROR: client_decode 2018-02-05 08:03:54 ERROR: client_decode

timwa0669 commented 6 years ago

protocol_param填64, obfs_param(obfsparam)删掉 再看看

taotaolin commented 6 years ago

我好像连连接都连接不上。。不知道为啥

Justsoos commented 6 years ago

ss-local -b "127.0.0.1" -l "{local_port}" -s "{server}" -p "{server_port}" -k "{password}" -m "{method}" -o "{obfs}" -O "{protocol}" -g "{obfsparam}" -G "{protocolparam}" start 这是完整命令行参数,你看看你是不是对上了。