This commit is contained in:
Mateusz Gruszczyński committed 2026-11-14 21:52:48 +01:00
1 parent f48843e934
commit e2c8099d9c
64 files changed
+5354 -673

No files matched your search

+8
View File
@@ -57,6 +57,14 @@ WebSockets normally use HTTP/1.1 Upgrade. HTTP/2/HTTP/3 client requests can stil
Public HTTPS requires a correct certificate with hostname coverage. Administration TLS is separate. Backend `https://` encrypts traffic, but **upstream certificate verification is opt-in by default** in the current backend model; enable it and specify CA/name where needed. Private/loopback addresses and routing to a local RustProxy listener require explicit risk overrides.
### Cipher configurator
**Settings → TLS policy** shows the cipher suites as a table grouped by TLS 1.3 and TLS 1.2, with the certificate type each suite needs (RSA, ECDSA or either), the encryption, key size and a rating. Presets set versions and suites in one click: **Modern** (TLS 1.3 only), **Recommended** (TLS 1.2 and 1.3 with every suite rustls offers — the widest compatibility RustProxy can give) and **256-bit only**; any other combination shows *Custom*. Ticking every suite stores an empty list (rustls defaults).
Next to the table an **SSL Labs–style estimate** grades protocols, key exchange and cipher strength (A, or A+ when HSTS is on in the global security headers) and lists the checks — forward secrecy, AEAD-only ciphers, TLS 1.3, post-quantum key exchange and HSTS. **Client compatibility** simulates common clients for the selection: current browsers, Safari 9–12, Android 4.4–9, Java 8/11, OpenSSL 1.0.2/1.1.1 and IE 11 (Windows 7/8.1 only with an ECDSA certificate). It is a simplified simulation, not a handshake test.
For "older systems" there is a hard limit: rustls implements only AEAD suites with forward secrecy, so TLS 1.0/1.1, CBC, RC4, 3DES and static RSA key exchange cannot be enabled. Windows XP, IE 6–10, Android 4.3 and older and Java 6/7 cannot connect to RustProxy whatever the selection; the list marks them accordingly. The server applies its own suite order. Stored as before: `tls.policy.tls12`, `tls13`, `cipher_suites`.
## Post-quantum TLS key exchange (optional)
**Settings → TLS policy → Post-quantum key exchange** enables the hybrid TLS 1.3 group **X25519MLKEM768** (X25519 combined with ML-KEM-768) for incoming TLS. It is a key-exchange group, not a cipher suite: certificates and AES-GCM/ChaCha20-Poly1305 ciphers stay unchanged, and classic groups remain available as a fallback. The setting is off by default and requires TLS 1.3.