v0.42.2_fix1

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-26 11:53:05 +01:00
1 parent f38a2b9e5e
commit 15c7f9ff9e
24 files changed
+464 -77

No files matched your search

+2
View File
@@ -4,6 +4,8 @@ Release history focused on **features, settings, default behavior, compatibility
## 0.42.2 — Generic FastCGI/CGI hosting and Apache compatibility
- **Maintenance: status-only Apache redirects:** accept `RedirectMatch 404 /\.` and other bounded 404/410 status-only Redirect/RedirectMatch forms without a target URL. Return the requested status with no `Location` header; keep path hardening and redirect validation. Add a regression fixture with a typical PHP front-controller `.htaccess` file, including unsupported non-security directives in non-strict mode.
- **Maintenance: observable DNS/DDNS ACLs:** keep the exact system DNS error or timeout rather than a generic failed-lookup warning. Failed refreshes emit structured warnings with hostname and reason; successful initial/change resolutions emit informational events. Add an authenticated read-only `/api/acl/dns-status` view and ACL profile panel diagnostics (active IPs, lookup time, remaining validity, error). DNS errors and expired addresses still fail closed. No change to ACL configuration or permission semantics. Source changes require a full Rust compile/test and deployment smoke test.
- **Legacy Apache access rules:** compile and enforce `Order`, `Allow from` and `Deny from` for `all`, IP addresses and CIDR networks (IPv4/IPv6), including `Deny from all`, rather than rejecting them independent of Strict mode. This preserves access restrictions. Unsupported security and handler constructs still fail closed; non-security unsupported directives remain warnings when Strict is off.
- **Panel:** clarify that turning Strict mode off does not disable security rules. Show per-Web-Service skipped .htaccess directives with file and line from the compiled configuration; diagnostics are also logged as warnings.
- **Universal FastCGI handlers:** Web Services support `php.handler=php_fpm` (default for existing configurations), `fcgiwrap` (external CGI runner), or `fastcgi` (generic responder). Socket/loopback TCP endpoint, executable extensions, `SCRIPT_NAME` public mount prefix, PATH_INFO, streaming bodies and bounded headers/timeouts are configurable independently per Web Service or shared profile. Verified Vhost Basic Auth identity can populate `REMOTE_USER` and `AUTH_USER`; reserved CGI identity and script parameters are never accepted as untrusted custom overrides. A CGI-only Web Service refuses raw static file delivery. No application-specific filesystem or URL paths are hard-coded.