Skip to content

fix: force SSL/TLS for vsftpd by default; remove TLSv1 and TLSv1.1, add TLSv1.3 for nginx#242

Merged
amefs merged 2 commits intoamefs:developmentfrom
bodayw:development
Mar 22, 2026
Merged

fix: force SSL/TLS for vsftpd by default; remove TLSv1 and TLSv1.1, add TLSv1.3 for nginx#242
amefs merged 2 commits intoamefs:developmentfrom
bodayw:development

Conversation

@bodayw
Copy link
Copy Markdown
Contributor

@bodayw bodayw commented Feb 25, 2026

fix: force SSL/TLS for vsftpd by default

While we have already configured ssl_enable=YES, the client could still log on and transfer data insecurely without these two options enabled.


fix: remove TLSv1 and TLSv1.1, add TLSv1.3

TLSv1 and TLSv1.1 were deprecated in 2021 and we should definitely remove them now.

Some ciphers in TLSv1.2 are not considered safe any more, so we should only enable some of them (no need to do this with TLSv1.3). The list here are copied from the default settings of Caddy as of now, see:
https://github.com/caddyserver/caddy/blob/master/modules/caddytls/values.go#L49

Note that I wanted to add ssl_conf_command Options PrioritizeChaCha; as well, such that non-AES-NI devices (e.g. older Android) can automatically switch to CHACHA20 ciphers, however this requires nginx > 1.19.4 but Debian 11 and Ubuntu 20.04 LTS is still on nginx 1.18.0. Maybe we can add this later, or not...given that quickbox-lite panel is primarily for desktop use, and those devices are pretty much obsolete anyway.

I also changed ssl_ecdh_curve to auto, such that it would allow users running newer versions of nginx/openssl automatically use modern curves such as X25519MLKEM768 while maintaining compatibility with older versions.

While we have already configured ssl_enable=YES, the client could still log on and transfer data insecurely without these two options enabled.
TLSv1 and TLSv1.1 were deprecated in 2021 and we should definitely remove them now.

Some ciphers in TLSv1.2 are not considered safe any more, so we should only enable some of them (no need to do this with TLSv1.3). The list here are copied from the default settings of Caddy as of now, see:
https://github.com/caddyserver/caddy/blob/master/modules/caddytls/values.go#L49

Note that I wanted to add `ssl_conf_command Options PrioritizeChaCha;` as well, such that non-AES-NI devices (e.g. older Android) can automatically switch to CHACHA20 ciphers, however this requires nginx > 1.19.4 but Debian 11 and Ubuntu 20.04 LTS is still on nginx 1.18.0. Maybe we can add this later, or not...given that quickbox-lite panel is primarily for desktop use, and those devices are pretty much obsolete anyway.

I also changed `ssl_ecdh_curve` to `auto`, such that it would allow users running newer versions of nginx/openssl automatically use modern curves such as X25519MLKEM768 while maintaining compatibility with older versions.
@bodayw bodayw changed the title fix: force SSL/TLS for vsftpd by default fix: force SSL/TLS for vsftpd by default; remove TLSv1 and TLSv1.1, add TLSv1.3 for nginx Mar 16, 2026
@amefs amefs merged commit 9ea8dea into amefs:development Mar 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants