ScalWS 1.1.0
- Tag v1.1.0
- : ScalWS 1.1.0
- Debian version
- 1.1.0
Package builds
All 3 files of 1.1.0 in the apt repository, newest first. Install the newest with apt install scalws (see Install); a specific build with apt install scalws=<version>.
| Package and version | Arch | File date | Size | Downloads | SHA-256 | Download |
|---|---|---|---|---|---|---|
| scalws-scalpanel 1.1.0+scalpanel.1-1 | amd64 | 10.3 MiB | e3116be1b344 | .deb | ||
| scalws-scalpanel 1.1.0+scalpanel.1-1 | arm64 | 10.3 MiB | a057e24486aa | .deb | ||
| scalws 1.1.0-1 | amd64 | 28.5 MiB | 8f2033c8db0e | .deb |
SHA-256 checksums
In sha256sum -c format; see Verify.
e3116be1b3447175583bdb26639c9c109cf97b21af330b997d9b6e8759a4a39f scalws-scalpanel_1.1.0+scalpanel.1-1_amd64.deb
a057e24486aa42f86c0eb52755778280df6570901df6c9e7fc1a3df1a5a86690 scalws-scalpanel_1.1.0+scalpanel.1-1_arm64.deb
8f2033c8db0eadd8bcb4442f341efb3fafe4de29a52e533832d1a28a6dbdcaaa scalws_1.1.0-1_amd64.debDebian versions and revisions
1.1.0 is 1.1.0 in Debian's spelling. The tilde sorts before everything, even the end of the version, so a release candidate is older than the final release it precedes and apt upgrades from one to the other.
The number after the last hyphen is the Debian revision (-1): a new package build of the same release. apt installs the highest revision; older ones stay in the repository index and can be installed by their full version.
scalws-scalpanel (component scalpanel) is a separate package: ScalWS for ScalPanel's custom web server image. Its version 1.1.0+scalpanel.1-1 carries the release version with a +scalpanel.1 suffix.
scalws-scalpanel (component scalpanel) is a separate package: ScalWS for ScalPanel's custom web server image. Its version 1.1.0+scalpanel.1-1 carries the release version with a +scalpanel.1 suffix.
Container image and Helm chart
Built and pushed by the release workflow for tag v1.1.0 (amd64 and arm64). Usage: Kubernetes guide, ingress controller. Registry access may require authentication.
- Image
ghcr.io/xsmtx/scalws:1.1.0- Helm chart
oci://ghcr.io/xsmtx/charts/scalwsversion1.1.0
Release notes
From CHANGELOG.md at tag v1.1.0, section [1.1.0]. The same file on scalws.com: changelog.
Licence
- Changed from Apache-2.0 to AGPL-3.0-only starting with 1.1. The
LICENSEfile is the GNU AGPL v3 text and is installed with the deb, rpm and apk packages (deb also gets a DEP-5copyright). Bundled third-party code underthird_party/keeps its own licences. Dependency licences: docs/licences/dependencies.md.
Security
- Dependencies: rustls 0.23.46 (RUSTSEC-2026-0346, RUSTSEC-2026-0347, RUSTSEC-2026-0348,
RUSTSEC-2026-0349), rustls-webpki 0.103.17 (RUSTSEC-2026-0382), webpki-root-certs
1.0.12 (RUSTSEC-2026-0383), tokio 1.54.1 (RUSTSEC-2026-0386) and rustix 1.1.6
(RUSTSEC-2026-0486). kube 4.0 and k8s-openapi 0.28 (scalws-ingress) drop the
unmaintained chrono (RUSTSEC-2026-0543) and serde_yaml with unsafe-libyaml
(RUSTSEC-2024-0449); kubeconfig YAML is now read by serde-saphyr and Kubernetes times
are
jifftimestamps. The k8s-openapi API baseline moves from Kubernetes 1.31 to 1.32 (v1_31is no longer offered).cargo deny checkpasses with no ignore entries.
Security: audit run 9
- .htaccess:
%{REMOTE_ADDR}of an IPv4 client of a dual-stack[::]listener is its IPv4 address, as PHP, the logs,X-Forwarded-ForandRequire ipsee it. It was[redacted address].b.c.d, so aRewriteCond %{REMOTE_ADDR}deny rule written for the IPv4 form did not match. The client address is now canonical for every rule and limit (N1). - Cache: the stale-while-revalidate refresh of an
Options +Indexeslisting applies the request's listing filter (IndexIgnore,<Files>/<FilesMatch>denials,deny_paths). It listed every entry and stored that page for every visitor, so later visitors saw the names, sizes and dates of hidden files (N2).
Security: audit edge
- Console: a draft's
server.networks.<name>.fileandserver.geoip.databasemust be below the configuration directory, unless the server's configuration names the same file (the database also at/var/lib/scalws/geoip/country.mmdb). The draft check read them as root, and its errors told a developer account whether a file existed and which line was not an address (N1). - Routes: a request whose path holds an encoded slash (
%2F) and whose decoded path would select another route answers 400, in both route orders and for every route table. nginx selects the location on the decoded path; here/sp-ab12%2Fa.jpgmissed ScalPanel's preview image route and itsreferer, and/app%2Fadmin/xreached an open/app/route instead of/app/admin/and its allow list. A path above the root once decoded (/..%2fx) now answers 400 instead of 404 (N2). - Cache: the stale-while-revalidate refresh of a proxy route applies the route's
request_headers(remove_cookiesincluded),rewrite.hostandrewrite_locationlike the request. It sent the visitor's withheld cookies and the unrewritten Host to the upstream and stored that answer for everyone (N3). - .htaccess: a local
ErrorDocumentis fetched with therequest_headersof its route (remove_cookiesincluded), as a request for it is; the site got the visitor's withheld cookies through it (N4). - .htaccess: a local
ErrorDocumenton a route withrefererkeeps the plain error for a Referer the route refuses; a foreign page could embed the protected document through any URL that ended in that status (N5).
Security: audit run 7
- Sandbox: an instance writes only
cgroup.procsof<base>/server, the cgroup every instance shares; itscgroup.killandcgroup.freeze(which killed or froze every instance, past the Landlock signal scope) are refused (N6). - Panel mode: an automatic name (
www.,ipv4.,webmail.,cpanel.plus a domain) stays with the account that owns the domain; another account's server name or alias equal to it is left out, with a warning naming that account and the name (N7).
Security: audit scalpanel
- Cache:
bypass_cookiesandbypass_query(every response cache: ScalPanel mode, panel modes and YAML) also match names as PHP reads them (., a space and an unclosed[read as_, query names decoded, an array index dropped; cookie names also decoded, as PHP before 8.1.11 and 8.0.24 did). A cookiecomment.author_xorwordpress.logged.in_xreached PHP under its bypass name while the page was stored and served to every visitor (N1). - Cache: URLs remembered as not storable (hit-for-pass) take a sixteenth of the cache memory, weighed by length, instead of up to 100 000 keys of up to 8 KiB outside it (N2).
- .htaccess:
IndexIgnore(withIndexIgnoreReset) hides names from anOptions +Indexeslisting (ScalPanel mode and any application with.htaccess); it was ignored with a warning, so names the owner hid were listed (N4). - Compression: the variant cache shared by all applications keys a file also by its document root and its change time (ctime, which nobody can set), so an inode number freed and reused with the same size and modification time no longer serves the first file's compressed bytes (N7).
- Static: a directory listing of a PHP application (ScalPanel mode and any other) leaves
out the names the static half never serves as files: PHP source a request refuses
(
.inc,.phtml,.php3to.php8,.phar,.phps) and the PHP extensions' scripts, so.phpfiles are no longer listed (N8). - PHP: an
ErrorDocumentwhose target falls back to the front controller passes the controller's.htaccesschecks (access rules, logins,php_flag engine off) as a request for it would, and the PHP handler answers 404 instead of running a fallback.htaccessdid not approve for its own controller (ScalPanel mode and any application with.htaccessand afront_controller). A missing error page let any visitor run a controller the owner had turned off, denied or put behind a login. In YAML, a route whose PHP runtime has its ownfront_controller, in an application with.htaccess, is now checked against that controller's.htaccessrules; before, only the default runtime's controller was checked, and the route's ran unchecked (N5). - .htaccess:
<Files>globs are charged to the request's scan budget, and to a listing's, by their worst case (name length times pattern length), as<FilesMatch>regular expressions are (every mode with.htaccess). Long globs made every request and every listed name run them uncharged (N3). - .htaccess: a directory level looked up again (every level on every request with
htaccess_recheck: 0s, as in ScalPanel mode; any level once its window passed) is charged to the request's scan budget per path component, as ADR-0031 said. A walk of d levels costs (d + 1)² x 256 bytes of the 8 MiB budget: a request that walks a path of 127 levels or more twice (one internal rewrite) or of about 104 levels three times answers 500 instead of making thousands of uncharged lookups (N6).
Added
- ScalPanel mode:
scalwsdserves one ScalPanel website from itssite.json(contract version 1) when it runs asscalpanel-webserver(the path as its argument, elseSCALPANEL_SITE_CONFIG, else/etc/scalpanel-site/site.json), with--site-json <path>, or withSCALPANEL_SITE_CONFIGset and no explicit-c. Every field maps onto ordinary configuration keys; unknown fields are ignored, the file is read with a 1 MiB cap, and every error is one line startingsite.json:with exit status 1. In this mode there is no admin socket, metrics listener, cgroups, optimizer, AI or ACME, and the runtime directory is<temp_dir>/scalws. The oldvpanelnames are not read. See ScalPanel mode. - ScalPanel mode:
required_headerbecomesserver.required_header {name, value, status}: a request without exactly one header with exactly that value (compared in constant time) gets 421 before routing,.htaccess, files, the cache or PHP, counted asrequired_header. An HTTP/1.0 request withoutHostis routed by the address it reached in such configurations. - ScalPanel mode: HTTPS through the edge.
server.client_address.forwarded_proto(on in ScalPanel mode) takes the scheme from oneX-Forwarded-Protovalue of a peer intrusted_proxiesfor PHP (HTTPS,REQUEST_SCHEME,SERVER_PORT),.htaccess%{HTTPS}, absolute redirects andhttps_redirect; other peers' header is removed. - ScalPanel mode:
security.dotfiles: forbiddenanswers dot paths (but/.well-known/) 403 before any file is looked at (deny_dotfiles), andsecurity.symlinks(followdefault,owner_onlyas Apache'sSymLinksIfOwnerMatch,none) checks links for static files, scripts, index files,.br/.gzsiblings and.htaccessfiles; a path without links costs the same singleopenat2. - ScalPanel mode:
.htaccesschanges apply to the next request (htaccess_recheck, 0 to 60 s, default 2 s,0sin ScalPanel mode);Options +Indexeslists a folder without an index file (escaped, without dotfiles, refused links or denied names, at most 10 000 entries and 2 MiB) and-Indexesanswers 403;indexes: not_found|forbiddenfor folders without either (forbiddenin ScalPanel mode);AddTypewith a non-PHP type sets theContent-Typeof static files,RemoveTyperemoves it. Every block ScalPanel 0.1.38 writes (directory privacy, error pages, redirects, directory listing, MIME types) is tested with the generator's text in both marker spellings (ADR-0031). - ScalPanel mode: log files.
server.logging.access_file(Apache combined format,%hthe resolved client,%uthe.htaccessBasic user, escaped as Apache does) andserver.logging.error_file(warnings and errors, one line each), fromlogsinsite.json. Writer threads with bounded queues (dropped lines inscalws_log_lines_dropped_total), onewrite(2)per line, reopened after rotation (moved, deleted or truncated file) and onSIGUSR1, retried every second while the file cannot be opened, never through a symbolic link (also not a linked prefix such as/var/run: use the real path). See Log files. - ScalPanel mode:
server.limits.request_timeoutbounds a whole request from the first byte of its head (limits.timeout_seconds, at most 24 h): 504 without a response, 408 while the body still arrives, a dynamic response being sent is cut; static file bodies and cache hits are not cut. Warnings whenphp.max_execution_secondsis 0 or longer, and for a managed pool withoutterminate_timeout. - ScalPanel mode:
runtime.extensions(PHP) lists the script extensions (php.extensions; only the last extension counts,x.html.jpgis an image, a name with a line break or NUL never runs); PHP source that does not run answers 403. Without it a YAML application keeps the 1.0 list. - ScalPanel mode:
front_controllerfromsite.json: a path that is neither a script, a file nor a folder with an index runs the controller with the original URI and query and noPATH_INFO, after.htaccesshad its say; dotfiles, refused links, denied paths and-Indexesfolders never reach it; a missing controller is 404. - ScalPanel mode:
compressioninsite.json(staticby default,all,types,off) and 8 MiB for compressed variants; see theCompression:entry. - ScalPanel mode: page cache from
cacheinsite.json(ttl_seconds,stale_seconds,memory_mb,bypass_cookies,bypass_paths,bypass_query): PHP responses only (cache.static_files: false, a new application key, defaulttrue), memory only, every access check before the lookup;.htaccessedits of caching headers orExpiresActive Onbypass it for that folder;""inbypass_cookiesbypasses any request with a cookie. See caching. - ScalPanel mode:
server.loopback_healthz(on in ScalPanel mode) answersGET/HEAD /healthzfrom a loopback TCP peer with 200okor 503draining(text/plain; charset=utf-8,Cache-Control: no-store) before the required header, never for an address a proxy reports or on a PROXY-protocol listener, not logged. - ScalPanel mode:
scalwsd --versionprintssite-json: 1andsite-json-fields: front_controller,compression,cacheafter the version. - ScalPanel mode:
scalwsctl panel detectprintsscalpanelon a ScalPanel host (before any other panel) andscalpanel-siteinside a website container;panel enable,syncanddisablerefuse there and change nothing,panel statusreports the websites per web server, and the package's first install does not start ScalWS on such a host. See ScalPanel hosts. - ScalPanel mode:
packaging/scalpanel/holds the site image recipe (Dockerfile.example: the static muslscalwsdas/usr/local/bin/scalpanel-webserveron ScalPanel's PHP site image, its entrypoint and sessions label kept, a/healthzhealth check) and the PHP-FPM settings;tests/scalpanel/contract.shchecks ScalPanel's contract against such an image, on amd64 and on arm64 (under qemu-user). - ScalPanel mode: the
scalws-scalpanelpackage for amd64 and arm64.scripts/release-build-scalpanel.shbuilds the static muslscalwsdfor both (scalwsd-<version>-scalpanel.<n>-{x86_64,aarch64}-linux-musl, with a.sha256each; amd64 profile-guided from the Alpine release build, arm64 in the same Alpine image built for arm64), checks that each is static and built for its machine (scripts/check-static.sh --machine) and printssite-json: 1, and packages one.debper architecture (packaging/scalpanel/nfpm.yaml): the binary at/usr/lib/scalws-scalpanel/scalwsd,/usr/bin/scalpanel-webserverlinking to it, the recipe and PHP-FPM settings as examples, no dependencies and no file of thescalwspackage, so both install side by side (tests/packaging/scalpanel-deb.sh). On arm64 the sandbox floor is not available (seccomp filters are x86_64 only): one warning, and the website is served. - ScalPanel mode: the sandbox floor is
autowhen neitherSCALWS_SANDBOX_FLOORnor--sandbox-flooris given: the sandbox applies ason(Landlock writes only belowtemp_dir, the system temporary directory and the log folders, no program runs, the seccomp allowlist) where the kernel and the container allow it; otherwise one warning names what is missing and the website is served without it, never a failed start. An explicit floor,offincluded (also set but empty), wins and anoffis logged once. PHP-FPM is started by the image, not by ScalWS, and is not under it. See ScalPanel mode. - Compression: gzip and brotli responses per application,
compression: {mode, types}(offby default,static,all,types) andserver.compression.cache_bytes(default 32 MiB).staticcompresses only static files of text types, never a dynamic response, whatever its type (BREACH-safe); compressed static variants are kept in memory with strong ETags (-gz6,-br5),.br/.gzsiblings are served,Vary: Accept-Encodingon every response of a compressed type, no compression forRangerequests, bodies under 1 KiB or already-compressed types. Pure Rust encoders (flate2withzlib-rs,brotli). Withoffnothing changes (within 2 % of the build before);staticmeasured 3.7x to 38x nginx's gzip at 1 CPU. A change ofcompressionrestarts the application's PHP runtime. See ADR-0053. - Disk I/O limits:
resources.io(read_bps,write_bps,read_iops,write_iops) next toio_bandwidth(shorthand for both byte rates; not together withread_bpsorwrite_bps). The limit is written as cgroup v2io.maxon the topmost whole device of every path the tenant writes: application and runtime roots, runtime and temp directories, PHP upload and session directories, writable container mounts and the tenant user's home. Partitions map to their disk; dm and md devices are limited themselves, never their legs. Devices no longer used are reset tomax. Paths without a block device (btrfs, overlay, ZFS, NFS) are reported byscalwsd --check,scalwsctl limitand the admin API (io,io_enforced,io_unthrottled,io_devices; the 1.0 keys stay); tmpfs is not a gap. A gap a tenant can cause never failscgroups.mode: required, which fails when the io controller is missing or a line is refused. Path resolution runs off the request path, bounded to 5 s per tenant. A rate of0is refused, rates below 1 MiB/s or 10 IOPS warn, and the run-timeio_bandwidthoverride has a floor of 1 MiB/s. See resources and ADR-0010. - Real client address:
server.client_address(header,presets,presets_dir,file). Peers oftrusted_proxiesreport the client inheader(x-forwarded-for,forwarded,cf-connecting-ip,x-real-iportrue-client-ip);presets: [cloudflare]trusts Cloudflare's networks, which report it inCF-Connecting-IP, so a site behind Cloudflare and a local load balancer needs no per-site setting. A peer in neither group is the client, whatever it sends, and single-value headers it sent are removed (also their underscore spellings). Unparseable entries make the client unknown (::); theX-Forwarded-Forsent upstream starts at the resolved client. The shipped Cloudflare list dates from the release;scalwsctl client-address update(root, over TLS, strictly validated,--force,--no-reload) refreshes it intopresets_dir, which must be root-owned. Peers in presets and imported networks are exempt from per-source connection and handshake limits. Panel mode importsmod_remoteip(cPanel, DirectAdmin) and nginxreal_ip(DirectAdmin) settings into/etc/scalws/panel/client-address.yaml(Cloudflare's networks always become the preset; the panel's proxies join yours only under the same header); the Console's Server section editsclient_address. The packages create/var/lib/scalws/presets. See security and ADR-0022. - PHP pools:
php.fpm.pool(slowlog_timeout,terminate_timeout,backlog,idle_timeout, whole seconds;idle_timeoutruns the pool withpm = ondemand; slow traces go to the pool's own log), OPcache isolation between managed pools (opcache.validate_permissionandopcache.validate_rooton),php.queue(max,wait: a busy pool answers 503 withRetry-After: 5; metricsscalws_php_queue_depthandscalws_php_queue_rejected_total) andphp.values(base PHP values of an external pool, sent asPHP_VALUEon every request, so that an application sharing the pool cannot leave its settings in a worker). .htaccess: HTTP Basic authentication (AuthType Basic,AuthName,AuthUserFile,Require valid-user|user,Satisfy any|all; bcrypt,$apr1$,$6$,$5$,{SHA}),php_value/php_flagfor the allowlisted PHP keys, andAddHandler/SetHandler/AddType/ForceTypelines that select PHP (cPanel MultiPHP included) or turn it off (SetHandler noneinuploads: a PHP script there answers 403). New keys:server.security.htaccess_auth_failures(default 10 failed logins a minute per client and realm, then 429),htpasswd_dirs(whereAuthUserFilemay lie besidesroot),php.versionsandphp.own_version. Access rules now follow Apache 2.4:RequireandOrder/Allow/Denyare separate layers combined bySatisfy. Panel mode writes the cPanel.htpasswdsand MultiPHP pools and the DirectAdmin password directories;scalwsctl panel checkreports a.htaccessPHP version without a pool. See the how-to.- Panel mode: the rendered sites carry the pools' base PHP values and bound the requests
to a pool by its
pm.max_children(php.queue.max: a busy pool answers 503, not 504);scalwsctl panel checkreports PHP pools of several accounts that share one OPcache (and PHP versions it could not read); on cPanel the sync watches every used PHP version's pool directory andphp.ini. server.tenant_users(warnby default,required,off): tenants whose managed applications would run as the same Unix user (nouser, or the same one) are reported at start, on reload, by--check,scalwsctl checkand the console;requiredrefuses such a configuration.
Changed
- Routes: a path with an encoded slash (
%2F) whose decoded form selects another route answers 400, in every configuration (audit edge N2). With prefix routes/apiand/api/v2, 1.0 served/api%2Fv2/xfrom/api; 1.1 answers 400. The same holds for an exact route (/api/healthand/api%2Fhealth). A path above the root once decoded (/..%2fx) answers 400 instead of 404. A path whose two forms select the same route is served as before. - Logs: the JSON access event's
remotewrites an IPv4 client of a dual-stack[::]listener as IPv4 (remote=203.0.113.5, wasremote=::ffff:203.0.113.5), as thecombinedandscalpanellines do. Filters keyed on the[redacted address]form need the plain address. - Proxy:
X-Forwarded-ForandX-Real-IPsend an IPv4 client of a dual-stack[::]listener as IPv4, as logs and address checks see it (was[redacted address].b.c.d). - Access log files: two
access_logentries that name one file with differentformats are a validation error naming both (the lines would interleave). Thecombined%uof anaccess_logfile is the user of aBasicAuthorizationheader when no.htaccesslogin set one (a routebasic_authuser, as nginx$remote_user), not-. server.compression.typeswithoutenabled: trueis a validation warning (it compresses nothing).- Proxy:
forwarded_forwith an unknown value names the key in the error inside a route'sruntime(serde named only the variant). - Proxy: proxied responses carry
Server: scalws; the upstream'sServer(for exampleApache/2.4.62 (Debian)) is dropped, as nginx hides it. A101upgrade answer keeps the upstream'sServer. Responses of every other handler are unchanged. - Redirects: with the Gateway fields (
scheme,host,port,path,prefix),keep_path: falsedrops the request's query (it was ignored, so the query was kept), as nginxreturn 302 https://$host:2096/;. The ingress controller'sapp-rootredirect setskeep_path: trueand keeps the query as before. server.security.per_ip.burst: 0is accepted: a bucket of one request (nginxlimit_reqwithoutburst; nginxburst=Nisburst: N+1). It was a validation error.requests_per_second: 0is still refused.- Route precedence is unchanged by default. The nginx order (exact, regex, prefix) is the
new opt-in
route_order: nginx(see "Added: edge features for ScalPanel" below); ADR-0050 is amended. - ScalPanel mode: PHP request bodies over 64 KiB are spooled to an unlinked file in
site.json'stemp_dir, no longer in$TMPDIR(else/tmp); with the sandbox in forcetemp_diris writable. Atemp_dirthat is/or a top-level folder other than/tmp, or that is, holds or lies inside the document root, the.htpasswdsfolder or a log folder, is refused at start and on reload; a missing one is created (0700) at start and one that cannot take a file is one warning at start. server.http1_serverandserver.upstream_clienttakeown | hyperand default toown: ScalWS's own HTTP/1 server and upstream client replace hyper's for HTTP/1 connections and for proxied and managed applications.experimentalis still accepted as an alias ofown. To keep hyper, sethttp1_server: hyperandupstream_client: hyper(orclient: hyperon a route);upstream_clientis read at start-up,http1_serverapplies to connections accepted after a reload. HTTP/2, HTTP/3 and TLS connections that negotiate another protocol are unaffected. Measured against nginx 1.31 (6 CPUs, 3 x 2 instances): respond 0.93 (hyper 0.86), proxy 0.98 (0.83), static-small 1.03 (0.98); seedocs/benchmarks/2026-11-12-xeon-1.0.0.md. Audit:docs/hardening/2026-11-13-own-http1-default-audit.md(no confirmed vulnerability; chunk extensions are capped at 16 KiB per body, as hyper).
Added: edge features for ScalPanel
ScalWS can run ScalPanel's edge from the configuration ScalPanel's generator writes, with the generator's key names (ScalPanel edge, ADR-0054). Every key is optional; a configuration without them behaves and costs as before.
- Routes:
route_order: nginxon an application tries exact, then regex (in order), then prefix routes, as nginx does; the defaultscalwsorder stays. Prefix paths may end with one/(/sp-ab12/matches/sp-ab12/and below, not/sp-ab12).rewrite.pathmay start with a capture ($1); a result without a leading/answers 400. - Network sets:
server.networks.<NAME>from a CIDR listfile(at most 32 MiB, 1 000 000 entries in all, read without following a final link) or fromcountrieslooked up inserver.geoip.database(MaxMind DB format, read into memory); routes refuse or admit them withdeny_networksandallow_networks(403,reason="networks"). Gaugescalws_geoip_build_timestamp_seconds. See Network sets. scalwsctl geoip update: installs DB-IP's IP to Country Lite database (checked, written atomically as root, reloaded). "IP geolocation by DB-IP (https://db-ip.com), licensed CC BY 4.0". The packages shipscalws-geoip-update.serviceand a monthlyscalws-geoip-update.timer(the 3rd at 04:00, up to one day of random delay), disabled.- Hotlink protection: route
referer: {allow_empty, allow_own, hosts, status}with nginxvalid_referersparity; refusals carryCache-Control: no-store, counted asreason="referer". See Hotlink protection. request_headers.remove_cookies: named cookies are dropped from everyCookieline before the runtime, upgrade requests included.- Proxy
forwarded_for: client: oneX-Forwarded-Forvalue (the resolved client) andX-Real-IP; the defaultchainis the 1.0 behaviour. - Proxy
rewrite_locationandcookie: {path_prefix, domain: request_host}for previews under a path prefix (nginxproxy_redirectandproxy_cookie_path). server.security.per_ip.max_upgraded: upgraded (WebSocket) tunnels per client address; beyond it429withRetry-After: 1,reason="upgraded". Under scalws-controller each instance enforces its share.access_log: {file, format}on applications and routes, formatcombinedorscalpanel(ScalPanel's nginxlog_format, byte for byte); one writer thread, one bounded queue,scalws_access_log_dropped_total. Hard-linked log files are refused.scalwsctl reopen-logsand adminPOST /v1/logs/reopen: reopen every log file, asSIGUSR1, on every instance under scalws-controller.server.compression.enabled,typesandmin_length: a server-wide default compression (the types plustext/html) for applications without their own;min_length(default 1024) replaces the fixed 1024 bytes.scalwsd --versionprints a fourth line,edge-features:, with the finished features in alphabetical order:access_log forwarded_for gzip max_upgraded networks prefix_proxy referer remove_cookies route_order.- The console knows the new keys: network sets and the country database are on the Security page; the others show with their help text where their parent is.
Removed
- Plesk support: Plesk is no longer supported. Panel mode serves cPanel and DirectAdmin;
panel detectprintsnoneon a Plesk server andpanel enable pleskis refused. The Plesk reader, its webmail PHP-FPM unitscalws-panel-webmail.serviceand its SELinux domain (scalws_webmail_t) are gone. A first install on a Plesk server changes nothing (no takeover, no start, no firewall rule) and says so in one line; a leftover Plesk panel state from 1.0 does not stop a first install (one line says it is ignored). - An upgrade of a server where panel mode serves Plesk's sites is refused by the package's
pre-install step: run
sudo scalwsctl panel disablewith the installed version first (it gives the ports back to Plesk's nginx), then upgrade. 1.0 keeps working for Plesk users who stay on it.
Upgrade notes
- Plesk: 1.1 does not install over 1.0 while Plesk panel mode is on
(
/var/lib/scalws-panel/state.jsonnames Plesk). Runsudo scalwsctl panel disablewith 1.0 first, then upgrade; or stay on 1.0, which keeps working with Plesk.
Fixed
- Packages (systemd):
scalwsd.serviceandscalws-controller.servicemake/var/log/scalwswritable (ReadWritePaths=-/var/log/scalws). Anaccess_logfile orlogging.access_filein a folder there, as the log guide suggests (/var/log/scalws/sites/), stayed unwritten ("Read-only file system", retried every second) underProtectSystem=strict. .htaccess:AuthGroupFileno longer denies the directory. Apache reads the group file only forRequire group, which still denies; withRequire valid-userorRequire userthe login applies. DirectAdmin's password-protected directories (AuthGroupFile /dev/null) answered 403 even with the right password. 1.0 has the same bug.- cPanel: a MultiPHP switch to a PHP version no site used served 502 for about 30 seconds.
The sync's path unit watched only the pool directories of the versions in use, so the
new pool did not start a sync until the retry; it now watches the pool directory of
every installed
ea-php*too, and/opt/cpanelfor a version installed later (control panels). - Packaging: the first-install cgroup v1 notice on a CloudLinux host no longer advises the unified hierarchy (LVE depends on CloudLinux's layout); it says to keep it (CloudLinux).
- DirectAdmin with OpenLiteSpeed:
panel enablefailed and its rollback left the web server disabled at boot. The unit isopenlitespeed.service;lshttpdandlswsare its aliases, and disabling an alias disabled the unit and removed the aliases, so the next steps and the rollback found no unit. Each web server name is now resolved to its unit (systemctl show -p Id) and recorded, disabled, stopped, given its drop-in and restored under that name, once; its enablement is recorded truthfully (an alias link exists only while its unit is enabled, soaliascounts as enabled). Theservices.statuslinesopenlitespeed=andlitespeed=(LiteSpeed Enterprise) are turned off and back likehttpd=. 1.0 has the same bug. - DirectAdmin: a PHP slot without its own
phpN_moderuns asphp1_mode, as DirectAdmin 1.7x writes onlyphp1_mode.panel enablerefused such a server ("PHP slot 2 ... runs as (unset)") and the sync gave that slot's domains no PHP. - Fuzzing: the cargo-fuzz targets fuzz the vendored
fastcgi-clientandktlsthat ScalWS ships (they fuzzed the upstream crates) at the dependency versions of the workspace lock (fuzz/Cargo.lock), run every night in CI (built once, two minutes per target), and cover HTTP/3 frame headers and FastCGI responses too. - A reload that keeps followed document roots no longer walks every protected directory for every such root: the protected directories' identities are taken once per reload, and each kept root is checked through its own open (not a map shared by path, whose stale entries could restart runtimes on every reload).
- OpenRC: a drain with the controller running no longer waits its whole timeout when no
instance is left (the top cgroup's
populatedcounted the controller's own group).