Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth_aes128_md5 无法使用 #25

Open
redapple0204 opened this issue Feb 4, 2018 · 5 comments
Open

auth_aes128_md5 无法使用 #25

redapple0204 opened this issue Feb 4, 2018 · 5 comments
Labels

Comments

@redapple0204
Copy link

redapple0204 commented Feb 4, 2018

您好
我使用的开启命令是

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
Copy link
Author

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

@redapple0204
Copy link
Author

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

{
"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
Copy link

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

@taotaolin
Copy link

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

@Justsoos
Copy link

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
这是完整命令行参数,你看看你是不是对上了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants