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

新建服务器默认使用AEAD加密 #2668

Closed
ghost opened this issue Nov 14, 2019 · 4 comments
Closed

新建服务器默认使用AEAD加密 #2668

ghost opened this issue Nov 14, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 14, 2019

Shadowsocks version / 影梭版本

v4.1.8.0

Environment (Operating system, .NET Framework, etc) / 使用环境(操作系统,.NET Framework等)

All

Steps you have tried / 操作步骤

新建服务器

What did you expect to see? / 期望的结果

新建服务器默认使用AEAD加密

What did you see instead? / 实际结果

默认使用AES-256-CFB

Config and error log in detail (with all sensitive info masked) / 配置文件和日志文件(请隐去敏感信息)

N/A

建议将默认加密由aes-256-cfb替换到aes-256-gcm/chacha20-ietf-poly1305。

同时可将rc4-md5等标记为不建议使用。

@celeron533
Copy link
Contributor

其实这个是由服务器决定的。。。最好的情况就是服务器刚好设置了aes-256-gcm,这样用户在配置的时候能少一次点击

@ghost
Copy link
Author

ghost commented Nov 15, 2019

修改默认加密是为了反映新技术和新的最佳实践,主要不是为了减少点击。(不过能够和服务器端的默认设置一致那当然最好)

@celeron533
Copy link
Contributor

OK 可以改一改
server.cs

        public Server()
        {
            server = "";
            server_port = 8388;
            method = "aes-256-cfb";
            plugin = "";
            plugin_opts = "";
            plugin_args = "";
            password = "";
            remarks = "";
            timeout = DefaultServerTimeoutSec;
        }

@ghost ghost closed this as completed Nov 28, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants