shadowsocks-libev 3.0.0
Arch Linux x86_64
I try to start shadawsocks-liev(ss-server, ss-local) with a config file. The command line:
ss-server -c shadowsocks.json
Started info.
An help message just like excueted ss-server -h.
{
"server": "0.0.0.0:1234",
"local_address": "127.0.0.1",
"loccal_port": 1080,
"password": "mypassword",
"time_out": 3000,
"method": "aes-256-cfb",
}
{
"server": "0.0.0.0:1234",
"local_address": "127.0.0.1",
"loccal_port": 1080,
"password": "mypassword",
"time_out": 3000,
"method": "aes-256-cfb"
}
any wrong?
json syntax invalid,
{
"server": "0.0.0.0:1234",
"local_address": "127.0.0.1",
"loccal_port": 1080,
"password": "mypassword",
"time_out": 3000,
"method": "aes-256-cfb"
}
It is not an syntax error, I just try
{
"server": "0.0.0.0",
"server_port": "1234",
"local_address": "127.0.0.1",
"loccal_port": 1080,
"password": "mypassword",
"time_out": 3000,
"method": "aes-256-cfb"
}
It works.
But I want to config multiport with diff passwords, likt this:
{
"server": "0.0.0.0",
"local_address": "127.0.0.1",
"loccal_port": 1080,
"port_password":
{
"8003": "password1",
"8004": "password2"
},
"time_out": 3000,
"method": "aes-256-cfb",
"fast_open": false
}
It can not start.
"port_password" was never ever supported by ss-libev.
so what can i used to replace "port_password"? The doc never note it.
Doc (man page) said you can't do it. Please use multiple config files instead.
ok, thank you.
I can not find any infomation you mention above by man ss-server or man shadowsocks-libev, can you tell me it in whitch section?
Try ss-manager -c config.json --manager-address 127.0.0.1:9090
OK maybe I didn't memorize it well. Thing about "port_password" can be repeatedly found in issues, like #5, #65, #383, #385, #444, #543, #684, #859, #1023. Maybe we should update documentation and say "port_password" can only be used by ss-manager and not understood by ss-server.
@hosiet I just remembered that I'd implemented it... So, it's my bad.
yes, it just works with ss-maager. the doc should be update
thank you