Dear James,

Thanks for your report, and sorry for the late reply!

On Thu, Nov 16, 2017 at 2:46 AM, James Valleroy <jvalle...@mailbox.org> wrote:
> Package: shadowsocks-libev
> Severity: wishlist
>
> Dear Maintainer,
>
> Currently, the default config for ss-server has server set to
> 127.0.0.1. Considering the purpose of this server, wouldn't it make
> sense to listen on all interfaces (and accept outside connections) by
> setting server default value to 0.0.0.0?
>
> Also, please consider enabling IPv6 support by default. The man page
> gives this example:
>
> {
>     "server":["::0","0.0.0.0"],
>     ...
> }

Considering currently the service only binds to localhost, for security's sake,
I think it's better to use the patch below.
What do you think?

diff --git a/debian/config.json b/debian/config.json
index 8ffa650..eb32b99 100644
--- a/debian/config.json
+++ b/debian/config.json
@@ -1,5 +1,5 @@
 {
-    "server":"127.0.0.1",
+    "server":["127.0.0.1", "::1"],
     "server_port":8388,
     "local_port":1080,
     "password":"barfoo!",

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1

Reply via email to