when connecting IPv6 ss server (domain or IP), can not use either pac mode or global mode
reason
ss-local listen to ::1 as local socks server but proxy server host is set to 127.0.0.1
when starting shadowsocks-libev ss-local, if you do not assign local socks server host by "-b" option, it will automatically listen localhost according to server host, 127.0.0.1 for IPv4 server and ::1 for IPv6 server. (I guess the reason is to avoid fatal exception of binding failure due to assign address failure)
for PAC mode or global mode, proxy server is always 127.0.0.1
possible solution
using placeholder for proxy server host, just like "__PORT__" for proxy server port, from user provided config or socks server host detection
sorry for open an issue rather than pr, as not good at electron development (ಥ_ಥ)
env
ubuntu 20.04, snap version app
problem description
when connecting IPv6 ss server (domain or IP), can not use either pac mode or global mode
reason
ss-local listen to ::1 as local socks server but proxy server host is set to 127.0.0.1
possible solution
using placeholder for proxy server host, just like "__PORT__" for proxy server port, from user provided config or socks server host detection
sorry for open an issue rather than pr, as not good at electron development (ಥ_ಥ)