Skip to content

Breaking changes from previous Syncplify Server! versions ​

This page outlines the significant changes ("breaking changes") introduced in the latest version of the software, as compared to previous versions. It also provides guidance on how to smoothly adapt to these changes when upgrading to the version described in the current documentation.

Version 8.14.0: one way of sending mail, and two new ones ​

Version 8.14.0 adds Microsoft 365 and Google Workspace as delivery methods next to the SMTP server. A configuration saved by an earlier version keeps sending through its SMTP server exactly as it was set up. To add the two methods, the four places that sent mail (notifications, the test message, share invitations and SendMail() in scripts) were brought onto one sender, and the following changed with that.

  • Share invitations now follow the TLS mode of the virtual site. They used to ignore it: they spoke implicit TLS on port 465 whatever the mode said, and on every other port they upgraded with STARTTLS when the server offered it and carried on in clear text when it did not. They now do what the mode says, as notifications, the test message and scripts always did, which also means a site set to Explicit (STARTTLS) no longer falls back to clear text. A site whose mode does not match its server (for example port 465 with a mode other than Implicit, or port 587 with None on a server that requires STARTTLS) could send share invitations before and cannot now. The test action of the SMTP page fails on such a site in every version, so it tells you at once: correct the mode until the test passes.
  • A stored SMTP password is not sent to a new server. Changing the host or the port of an SMTP server that signs in with a stored password, without entering the password again, is refused, in both consoles and in the REST API (model.mail.smtp.passwordReentryRequired). Enter the password together with the new address. This closes a way to read a stored password by pointing the settings at another server.
  • The test action runs against the saved secrets. It used to send exactly what the page held, and a page never holds a saved password, so the test of a saved configuration that signs in failed unless the password had just been typed again. It now uses the saved value for whatever the request does not carry.
  • The test action of the REST API answers differently. POST /sa/tests/smtp and POST /adm/tests/smtp answered 503 for every failure. They now answer 400 when the settings or the recipient are at fault, 502 when the provider refused, and 503 when the provider could not be reached, each with a messageCode (webrest.mailTest.*) and the provider's own words in messageParams.detail. The success message is now coded webrest.mailTest.ok.
  • Removing a mail secret through the REST API removes it. A whole object PUT of the global or site configuration that carried a secret with the status Blank used to keep the stored value. It now clears it, which is what the Remove action of the SuperAdmin UI always meant to do. A secret sent back redacted, or not sent at all, still keeps its stored value.
  • Notifications and share invitations show their HTML version in more mail clients. Both are sent with a plain text and an HTML rendition. The HTML one used to come first in the message and now comes last, which is the order mail clients expect: a client that shows the last rendition it supports displayed the plain text before and displays the HTML now. A custom HTML template that was never seen in such a client will be.
  • SendMail() says so when an attachment is missing. A script that names a file that does not exist still has its message sent without the attachment, as before, and a warning is now written to the log.

Version 8.14.0: what a configuration write may change ​

These apply to the REST API and to anything built on it. The consoles were adjusted to match.

  • The token signing secrets can no longer be set. The secret that signs WebClient! session tokens and the one that signs shared object tokens (httpConf.jwtSecretWc and httpConf.jwtSecretShare of the site configuration) are generated and kept by the server. A whole configuration PUT already ignored whatever it carried for them; a PATCH used to accept a new value, and a blank one made the server generate a new secret, which ended every live session and broke every share link. Both verbs now keep the stored secrets, whatever the request carries, and answer as before. The two fields are gone from the Sessions tab of the Admin UI. A site that had its own secrets set keeps them.
  • Removing a logging secret through the REST API removes it. As with the mail secrets above, a PUT or PATCH of the global configuration, or a PUT of the site configuration, that carries the auditable log passphrase or the log database address with the status Blank used to keep the stored value. It now clears it.
  • null for the proxy headers of a site keeps them. A PATCH of the site configuration that sent httpConf.securityConf.sslProxyHeaders as null used to reset the headers to the default. It now leaves them as they are, like any other field sent as null. To replace them send the new map; see Partial updates.

Version 8.12.0: an upload that cannot be completed is no longer kept ​

These changes came with content scanning, and each of them applies to every virtual site, whether it scans or not.

  • SFTP no longer changes a file in place on storage that cannot continue a file. S3, Azure, Google Cloud Storage and an encrypted Disk VFS store a file whole when its handle closes. An SFTP client that opened an existing file there to resume an upload, to append to it, or to write somewhere in the middle of it had only what that one handle received stored: a resumed upload ended as a run of zeros followed by its last part, in place of the file, and was reported as a success. Such an open is now refused with "operation unsupported", as FTP has always refused APPE and REST there. Uploading a new file and replacing an existing one are not concerned. What is concerned is a client or script that opens an existing file without asking for it to be emptied first and then writes all of it from the start: that used to work by accident and is now refused. Have it replace the file (the truncate flag of its SFTP library), or delete the file first.
  • A failed upload to that storage is discarded. When the connection was lost, the client aborted or the quota ran out, what had arrived was stored as if it were the whole file, and in place of the file that was there before. Nothing is stored now. On object storage the previous file stays as it was. Disk, remote SFTP and R2FS! storage keep the part, as they always did, so that the client can resume it.
  • A WebClient! or share upload that fails leaves nothing behind, on any storage. These uploads arrive in one request and cannot be resumed; the part used to stay under the name of the file.
  • A ZIP download can hold one file you did not ask for. When a file of the selection could not be put in the archive, the archive carries a note, _FILES_NOT_INCLUDED.txt, that names what is missing and why. Such files used to be left out without a word. A script that unpacks these archives and expects an exact list of names must allow for it.
  • Names of the form .ssstage- followed by 24 characters and .part are reserved on Disk, remote SFTP and R2FS! virtual file systems. No client can create, open, rename, delete or list a file with such a name. The server uses them for uploads it holds until they are scanned.
  • FTP COMB removes the parts only once the combined file is stored. They used to be removed one by one while the file was being built, so a COMB that failed half way had already cost the client its parts. The combined file and its parts now occupy space together until the command ends.
  • An idle FTP client is no longer disconnected after fifteen seconds. A session that had exchanged more than about 15 KB of commands or replies was closed with 421 command timeout (-1 seconds) after fifteen seconds without a command. How long an FTP client may stay idle is now decided by the idle timeout of the virtual site alone.

Version 8.11.1: * and ? are a file mask only in FTP listings ​

From 7.0.6 on, every question about a path with * or ? in it was answered for the folder above it, so that an FTP LIST *.txt could list that folder. SFTP has no file masks: an SFTP client that asked about Invoice*.txt before listing it was told it was a folder, from 8.0 on the listing of that "folder" returned the files the pattern matched, and the client then showed, and failed to download, paths such as /Outgoing/Invoice*.txt/Invoice.txt. A path now names exactly one entry everywhere except in the FTP listing commands:

  • FTP LIST, NLST, MLSD and STAT with a path read * and ? in the last element as a file mask, exactly as before. Options followed by a mask, such as LIST -la *.txt, now list the matching files; they used to return an empty listing.
  • SFTP STAT, LSTAT and OPENDIR of a path with * or ? in it answer "no such file" when no entry has that name, as OpenSSH and Syncplify Server! 7.0.1 to 7.0.5 answer. Clients that expand a pattern themselves (OpenSSH sftp, WinSCP, FileZilla and most others) are not concerned. A client or script that relied on an SFTP directory listing of a pattern returning the matching files must list the folder and match the names itself.
  • FTP CWD, SIZE, MDTM and MLST of a mask answer that no such entry exists. CWD *.txt used to succeed and move the client into a folder that does not exist.
  • SCP and the WebClient read names literally as well, and so does ls in the SSH shell, as that page states.
  • Where the storage allows * and ? in names (Linux, object storage), a file or folder whose name holds them is an ordinary entry for every operation: it can be downloaded, overwritten, renamed and deleted like any other. It used to be taken for the folder above it.

Version 8.11.1: folders on the way to a virtual folder ​

A virtual folder mounted at a path with several levels, such as /Usr/nanac, needs the folders before its last level (Usr) to reach it. When the virtual file system that serves them (usually the home) did not hold such a folder, every version since 7.0 listed it in the folder above but answered "no such file" when a client opened it. It now opens as an empty folder that holds the virtual folder, and the rules for these folders are stated with the virtual folders of a user. Three of them change what a user can do:

  • A folder on the way that the storage does not hold is list only. Creating a folder in it used to create it in the storage, together with every missing parent; that is now refused with "permission denied", as is every other change there (uploads already failed, with "no such file"). If your users relied on creating it, create the folder in the storage once, and it behaves as an ordinary folder from then on.
  • A folder on the way can no longer be deleted or renamed, nor replaced by a rename, whether the storage holds it or not. Deleting it used to remove it from the storage with everything below it, including any content the storage held behind the virtual folder, while the folder kept showing in the listing.
  • A listing with a file mask (FTP LIST *, NLST *.csv) now includes the virtual folders whose names match the mask. Masked listings used to leave every virtual folder out.

Accounts whose virtual folders are all mounted directly in the root, such as /data, are not concerned.

Every Disk VFS now carries a Symbolic links setting with three values: follow nowhere, follow inside the root only, follow anywhere; see Virtual file systems. A VFS created from 8.8.0 on follows no link unless you choose otherwise when you create it, or edit it afterwards. A VFS that existed before the update keeps following every link wherever it leads, exactly as before: nothing changes for it until you decide. Review the VFSs whose root holds links or junctions you did not place yourself, and tighten them. Whatever the setting, a path that reaches another place inside the root through a link now needs the permissions of that place as well as those of the folder the link sits in, so a link created before a permission override was added no longer bypasses that override.

Version 8.8.0: a move needs the rename permission at both ends ​

Renaming or moving a file or a directory now requires the matching rename permission (for files or for directories) in the folder the entry leaves and in the folder it enters. Until 8.7.x only the folder the entry left was checked, so a user who could rename in one folder could move entries into a folder where they held nothing but the permission to list it, for instance a folder restricted by a permission override. The rule applies to every protocol and to the WebClient, on every kind of virtual file system, and on Windows and macOS it follows the folder however the client spells its path. A rename inside one folder is unchanged. Review accounts that relied on moving files into a folder they may not upload to, and grant the rename permission there if that flow is intended.

Version 8.7.0: automatic certificates replace the console's Let's Encrypt flag ​

Nothing changes for an installation that keeps handling certificates by hand: Automatic certificates are off by default for every virtual site and for the console, no new port is bound, and the certificates you uploaded or generated keep being served exactly as before.

The one exception is the useLetsEncrypt flag of the console's service binding, which only ever existed in the API. It is retired. On the first start of 8.7.0 a console that had it set keeps the certificates it had obtained (they are imported into its certificate list as ordinary certificates, so it keeps serving them until they expire), the host names of its service binding are exactly what the console's Automatic certificates cover, those settings are left disabled, and a notification asks you to review and enable them on the Certificates page. Port 80 is never bound by the console again; validations use TLS-ALPN-01 on port 443, as the page above explains. A certificate obtained automatically answers managedBy: "acme" in the certificate APIs and cannot be deleted while automatic certificates are enabled for its scope (the API answers 409).

Version 8.4.0: the server keeps itself current ​

Version 8.4.0 adds self update. The 8.4.0 build itself arrives through the setup program; from then on the server checks Syncplify's signed release channel once a day and can install new versions on its own. Everything is described in Keeping the server current; the items below are the ones an existing installation notices.

  • The setup program delegates updates to the product. Updating with the setup program no longer stops, swaps and restarts the services itself: after the license and maintenance checks it stages the binaries it carries and hands over to the product's own updater. A backup of the configuration database is taken before anything stops, the previous version is kept beside the installed binaries (.prev rollback slots), the node is health checked afterwards, and a failed health check rolls the three binaries back as a set. The setup program refuses to replace a newer version the server installed on its own unless --allow-downgrade is given.
  • New files under the data directory. Staged releases under bin/, the updater's state and lock files, a health snapshot and the updater's log. None needs backing up.
  • The SyngoDB service is updated with the rest. Unless the new SyngoDB server cannot open the installed data, in which case the update is refused before anything is touched and the setup program is required. A SyngoDB data layout change also means no automatic rollback: a failed health check then leaves the node on the new version and reports it as needing manual attention.
  • Clusters update one node at a time, and refuse otherwise. An update lease prevents two nodes from updating together; an offline, mid update or failed member blocks every update until it is dealt with, and a cluster can update itself only once every member runs 8.4.0 or newer. Updating a single node by hand while members are offline requires an explicit acknowledgement.
  • The setup program is signed with the release channel key. One trust root for the software however it arrives. Nothing changes for an operator; a script that verified the setup's .sig file against the previous public key must switch to the release key.
  • The maintenance plan is visible everywhere. When a newer version is published and the maintenance plan has expired, the console, the Dashboard, the sign in screen, the notifications and the Admin UI say so, with the steps to extend it. Nothing is installed without an active plan (a valid trial counts), and nothing is installed automatically while the standing cannot be verified.
  • A version notice at sign in carries more. The sign in screen now also reports an update in progress and the outcome of the last update on the node. The SuperAdmin console lands on the sign in screen after a node updates itself, because the session secret is regenerated at every Web/REST start.
  • Worker services on Windows are refreshed on update. Their service definitions are rewritten by the updater, so they carry the service account identity the product expects.

Version 8.3.1: behaviour changes you may notice after the update ​

Version 8.3.1 acts on an independent security assessment. Most of what it changes applies to new installations and newly created virtual sites only; the items below are the ones an existing installation notices.

  • Worker services restart after a crash. A worker's unit file used to carry no restart policy, so a crash left the virtual site down until someone started it. Workers now restart on failure; a deliberate stop and a clean exit are respected. Ten starts within five minutes trip the systemd start limit, which systemctl reset-failed clears.
  • Unit files are reconciled on update and at Web/REST start. A unit file the product wrote is brought up to date; a unit file edited by hand is left alone and reported. Move local changes into a drop in (systemctl edit). Details in Running the services under dedicated accounts.
  • The SSH host key algorithm list is now enforced. An RSA host key used to advertise ssh-rsa (SHA1) whatever the list in Admin, SFTP, Host key algorithms said. It now advertises exactly what the list allows. The default list excludes ssh-rsa, so a client that can only verify ssh-rsa host key signatures (OpenSSH before 7.2, old JSch and paramiko releases) stops connecting; add ssh-rsa to the list to keep such a client.
  • The WebClient no longer answers cross origin requests with credentials by default. Bearer token clients are unaffected. A concrete origin list in the CORS settings still earns credentials.
  • Thumbnails are bounded. An image above 32 MiB or 32 million pixels shows the generic icon instead of a thumbnail.
  • The SyngoDB web UI login is guarded by the allow list. Nothing changes for the product; an administrator who reached that UI from another machine needs their address in webUISettings.ipAllowList. See The SyngoDB service.
  • Permissions of the product's own files are narrowed once. Databases, license and SyngoDB configuration become readable by the service account and its group only. Logs are not touched. See Protected files on a node.
  • A repair installation overwrites cfg-ssrv.yaml with the shipped one, which now binds the SyngoDB web UI to the loopback address and sets the log file mode.
  • Importing a v4 or v5 backup keeps that deployment's behaviour (optional STARTTLS, no security headers, R2FS accepting unencrypted nodes), unlike a site created in the SuperAdmin UI.

GetCurrentVFS() is no longer a member of the Session object ​

In previous versions of Syncplify Server!, to work with the currently active Virtual File System (VFS) from inside a SyncJS script, you'd call:

ts
var currVfs = Session.GetCurrentVFS();
if (currVfs != null) {
    // do something with it
}

In Syncplify Server!, GetCurrentVFS() has become a stand-alone function, and is no longer a member of the Session object. You will then need to update all of your scripts using this method, in order to call it like this:

ts
var currVfs = GetCurrentVFS();
if (currVfs != null) {
    // do something with it
}

Read more about this method here.

VFS' ImportFile() and ExportFile() function signature differences ​

In previous versions of Syncplify Server! the ImportFile() and ExportFile() methods of a VFS object would take a file path and a directory path as arguments, which lead to all kinds of confusion. These functions signatures have now been uniformed as follows:

ts
function ImportFile(localFilePath, targetVfsFilePath: string) respBase;
function ExportFile(vfsFilePath, localFilePath: string) respBase;

Read more on this topic on the specific manual pages for ImportFile and ExportFile.

CtxRelPath() replaces Session.GetRelPath() / Session.GetAbsPath() in event-handler scripts ​

In Syncplify Server! versions 1 through 6, the only way to retrieve the path of the file associated with a triggered event from inside a script was to call Session.GetRelPath() or Session.GetAbsPath(). This was always subtly unreliable: those methods return the session's live path cursor, which may have already changed by the time the script executes — because the client keeps working concurrently.

Syncplify Server! V7 (and thus also V8 and all subsequent versions) introduced the dedicated CtxRelPath() helper function. The path is captured at the moment the event fires and frozen into the script's execution context for its entire lifetime, regardless of what the client does afterwards.

If you have existing scripts that call Session.GetRelPath() or Session.GetAbsPath() in order to determine which file triggered a file-based event, you should update them to use CtxRelPath() instead:

ts
// Before (V1–V6) — unreliable under concurrent session activity:
var path = Session.GetRelPath();

// After (V7+) — always correct:
var path = CtxRelPath();

NOTE

Session.GetRelPath() and Session.GetAbsPath() still exist and are still valid for their original purpose (inspecting the session's current cursor position). Only use them when you genuinely need that live cursor, not when you need the file that triggered the script.

CtxRelTargetPath() replaces Session.GetRelTargetPath() in event-handler scripts as of v8.0.2 ​

This one is far more specific than CtxRelPath(): it gives you the path of the target file before and after a Move/Rename operation. The logic is the same as for CtxRelPath(): the path is captured at the moment the event fires and frozen into the script's execution context for its entire lifetime, regardless of what the client does afterwards.

ts
// Before v8.0.2 — unreliable under concurrent session activity:
var targetPath = Session.GetRelTargetPath();

// After v8.0.2 — always correct:
var targetPath = CtxRelTargetPath();

WARNING

CtxRelTargetPath() is not available prior to v8.0.2. Please upgrade to v8.0.2 or newer to use this function.

CtxVFSName() replaces Session.GetCurrentVFSName() in event-handler scripts as of v8.0.4 ​

This function provides the name of the virtual file system (VFS) associated with the current event. As with the other Ctx* functions, the VFS name is captured at the moment the event fires and frozen into the script's execution context for its entire lifetime, ensuring consistent behavior even under concurrent session activity.

ts
// Before v8.0.4 — unreliable under concurrent session activity:
var vfsName = Session.GetCurrentVFSName();

// After v8.0.4 — always correct:
var vfsName = CtxVFSName();

Read more about this function here.

WARNING

CtxVFSName() is not available prior to v8.0.4. Please upgrade to v8.0.4 or newer to use this function.

New EventCtx() helper function as of v8.0.4 ​

Alongside CtxVFSName(), v8.0.4 also introduces the EventCtx() helper function. It returns the whole event context as a single object, carrying the same frozen values the individual Ctx* functions expose:

ts
var ctx = EventCtx();
Log("File path: " + ctx.RelPath);         // same as CtxRelPath()
Log("Target path: " + ctx.RelTargetPath); // same as CtxRelTargetPath()
Log("VFS name: " + ctx.VFSName);          // same as CtxVFSName()

This is not a breaking change, existing scripts keep working unmodified. It is worth knowing about because EventCtx() is forward compatible: when future versions enrich the event context with new information, the new fields appear in this object automatically, without waiting for a dedicated Ctx* function.

WARNING

EventCtx() is not available prior to v8.0.4. Please upgrade to v8.0.4 or newer to use this function.

New CtxUsername() helper function as of v8.0.5 ​

v8.0.5 introduces the CtxUsername() helper function, which works exactly like the other Ctx* functions: it returns the username of the user who logged in and started the session that triggered the script, captured at the moment the event fires and frozen into the script's execution context for its entire lifetime. It returns an empty string "" for events that occur before authentication.

ts
var user = CtxUsername();
if (user !== "") {
    Log("Event triggered by user: " + user);
}

As promised by the forward compatibility of EventCtx(), the same value is also available as the new Username field of the event context object, with no changes needed in scripts that already read it:

ts
var ctx = EventCtx();
Log("File path: " + ctx.RelPath);         // same as CtxRelPath()
Log("Target path: " + ctx.RelTargetPath); // same as CtxRelTargetPath()
Log("VFS name: " + ctx.VFSName);          // same as CtxVFSName()
Log("Username: " + ctx.Username);         // same as CtxUsername(), new in v8.0.5

This is not a breaking change, existing scripts keep working unmodified.

WARNING

CtxUsername(), and the Username field of EventCtx(), are not available prior to v8.0.5. Please upgrade to v8.0.5 or newer to use them.

New CtxVirtualSite() helper function as of v8.0.6 ​

v8.0.6 introduces the CtxVirtualSite() helper function, which returns the ID of the virtual site in whose context the event occurred, captured at the moment the event fires and frozen into the script's execution context for its entire lifetime. Unlike the other Ctx* functions, it never returns an empty string: every worker instance serves exactly one virtual site and will not start without one, so there is no event that fires outside a virtual site.

ts
Log("Event fired in virtual site: " + CtxVirtualSite());

The same value is also available as the new VirtualSite field of the EventCtx() object:

ts
var ctx = EventCtx();
Log("Username: " + ctx.Username);         // same as CtxUsername()
Log("Virtual site: " + ctx.VirtualSite);  // same as CtxVirtualSite(), new in v8.0.6

This is not a breaking change, existing scripts keep working unmodified. Session.GetVirtualSite() returns the same value and is not deprecated: unlike the session's file cursor or current VFS, the virtual site cannot change during a session, so neither call can go stale.

WARNING

CtxVirtualSite(), and the VirtualSite field of EventCtx(), are not available prior to v8.0.6. Please upgrade to v8.0.6 or newer to use them.

The SSH Shell subsystem is now a virtual shell ​

Asking an SSH server for a shell, which is what ssh user@host with no arguments does, used to start a real operating system shell on the host: /bin/sh on Unix, cmd.exe on Windows. That child process carried no user credential, so it ran with the identity of the service itself, which is root on Linux and SYSTEM on Windows, and it stepped entirely outside this product's virtual file system boundaries, permissions, quotas and audit log.

The Shell subsystem now runs a virtual shell instead: a fixed, small set of commands interpreted by the server, operating on the session's own virtual file system, with no operating system process involved at any point. The full command set and the reasoning behind the change are documented on the SSH Shell subsystem page.

This is a breaking change for anyone whose automation opened an interactive shell and issued operating system commands. Such automation stops working, deliberately. The ssh2_shell permission itself is unchanged, and clients that ask for sftp, scp or exec are entirely unaffected.

Rewrite affected automation using SFTP or SCP where it is really moving files, or as a script bound to an event handler where it is not. If somebody genuinely needs an operating system shell on the machine, give them an operating system account on that machine; it should not arrive as a side effect of a file transfer permission.

Event handlers with no timeout no longer run indefinitely ​

An event handler whose Timeout (s) field was left at zero used to be given a timeout of roughly 115 days, which is not a timeout in any practical sense: a handler that hung held its script engine, and everything that engine referenced, until the service was restarted.

A timeout of zero now means one hour for ordinary events, and 30 seconds for events that can fire before a user has authenticated, since those are the events an anonymous stranger can trigger at will just by connecting. A timeout you set explicitly is still honoured exactly as set, in either direction.

This affects you only if you have a handler that relies on running longer than those defaults and has no explicit timeout set. Set the timeout you actually need on that handler and it will behave as before. The Event Handlers page describes both defaults in full.

Asynchronous event handlers now have a concurrency limit ​

Handlers marked Run asynchronously are started and left to finish on their own. There was previously no limit on how many could be running at once, so a rapid burst of events, which an anonymous client can produce simply by opening connections, could start an unbounded number of script engines.

There is now a limit, set by the new Max concurrent asynchronous scripts field at the top of the Event Handlers page. It defaults to 64 and accepts anything from 1 to 4096. If every slot is busy when an event fires, that asynchronous run is skipped and a warning naming the script and the event is written to the log. Synchronous handlers are never skipped.

This affects you only if you rely on a large number of asynchronous handlers running at the same moment. Raise the value if the log warnings show you need to; the setting takes effect on the next event, with no restart.

OnShieldBanHit fires at most once per minute per address ​

When a banned address tries to connect, the server used to consult the database, write back an updated hit count and ban expiry, and dispatch the event on every single connection attempt. An address under a ban therefore cost the server more work per connection than a clean one, which is backwards for a control whose whole purpose is to make unwanted traffic cheap to refuse.

A banned address is now refused at accept, from an index kept in memory, and the OnShieldBanHit event (formerly OnBlocklistHit) fires at most once per minute per address. The ban still extends the longer a client keeps trying; it does so at a rate the server chooses rather than one the client chooses.

This affects you only if you have a handler on this event that counts events, for example one that tallies attempts or sends a message per hit. It will see at most one event per minute per address instead of one per connection attempt. Lifting a ban takes effect immediately and does not wait out the minute.

A JWT can only be presented in the Authorization header ​

The worker's HTTP endpoints used to accept a token in a jwt form field on POST requests, as a fallback when the Authorization header was absent. That fallback has been removed: reading the form field meant parsing the request body of an entirely unauthenticated request, buffering it in memory and spilling the excess to the temporary directory, before there was any credential to check.

No Syncplify client has ever sent a token that way, so in practice this affects nothing. If you have your own automation against the WebClient API that puts the token in a form field, move it to the standard header:

Authorization: Bearer <token>

New installations generate their own database credential ​

Every version before this one reached its own database with a service account password that was a constant, identical on every installation ever shipped and compiled into the program. A new installation now generates a random password for itself during setup and keeps it in a protected file next to the installation key. See Protected files on a node.

This is not a breaking change for anyone who is upgrading. An installation that already exists keeps the password its database already has, and the software still knows it. Setup only generates a credential when it creates a database from scratch, which happens on a first installation and never on an upgrade or a repair. There is nothing to do.

Two things are worth knowing anyway:

  • The new file, .ssrv-database.cred, joins .ssrv-installation.key as something to back up separately from your backup archives. Neither is included in an archive, which is what makes a stolen archive useless on its own.
  • If setup cannot generate the credential it says so and carries on with the built in password, exactly as before. The installation is complete and works normally.

An R2FS! node may only serve VFS names that exist on the virtual site ​

When an R2FS! storage node connects, it claims the VFS names it intends to serve. The virtual site used to check that claim against its own list of R2FS! virtual file systems only when that list was not empty. On a virtual site with no R2FS! VFS configured, which is an entirely ordinary configuration, an empty list read as "no restriction" rather than as "accept nothing", so any node holding a valid identity key could claim any name it invented.

Every claim is now checked, including on a virtual site that has no R2FS! virtual file system at all. A name that does not match a configured R2FS! VFS is refused, and the refusal is written to the log naming the claim that was rejected.

This affects you only if an R2FS! node claims a name that no VFS on that virtual site uses. Such a node used to connect and report itself healthy while serving nothing, because there was no VFS to route traffic to it; it is now refused at connection time, which turns a silent misconfiguration into a visible one. Create an R2FS! virtual file system whose R2FS! name matches what the node claims, or correct the name configured on the node, and it connects exactly as before. The check follows configuration changes as you make them, with no restart.

R2FS! connections are encrypted as of Syncplify Server! v8.1 and R2FS! v2.2 ​

The link between a virtual site and its R2FS! storage nodes used to run in the clear. Everything it carried, the identity key included, was readable by anyone on the network path, and a node had no way to tell whether it had reached your server or something answering in its place.

Between a v8.1 server and a v2.2 node that link is now encrypted, and both ends prove possession of the shared identity key over the connection they are actually on, so neither can be impersonated by a machine on the path. There is nothing to configure and nothing to do. No certificate is involved, no new field appears, and the identity key you already copy between the two sides remains the whole of the trust.

This is not a breaking change. A v8.1 server still accepts older R2FS! nodes, and a v2.2 node still reaches older servers, so the two sides can be upgraded in either order and at whatever pace suits you. Once both ends of a given link are new, that link is encrypted automatically without either side being told to do so.

Two settings let you close the door behind you once every node is upgraded: Require R2FS! v2.2+ mutually verified encryption on the server, described on the R2FS! page, and its counterpart in the R2FS! node's own configuration. Both default to off, and both refuse unencrypted links once turned on.

TIP

Before turning either setting on, look for the log entries naming any R2FS! node that connected without encryption. They tell you exactly which nodes still need upgrading.

The Shield replaces the Protector as of v8.3.0 ​

The Protector, the strike and block list subsystem of every earlier version, has been replaced by the Shield. The Shield keeps its counters in memory, keeps only bans in the database, refuses a banned address the moment it connects and before any handshake, and decides with six auditable rules instead of the Protector's four behaviour tiers. The Shield, safe list, allow list page explains it. The installer migrates every installation automatically; the points below are what you may notice.

The behaviour tiers are gone. Permissive, Normal, Strict and Paranoid no longer exist. The migration derives the Shield's failed sign in rule from the Protector's window, threshold, ban length and compound settings, so the posture you had tuned is kept, and fills every other rule with its default. Application errors made by authenticated users, which the Protector counted as strikes under the stricter tiers, are never counted by the Shield.

The Protector permission is now Shield. Administrators holding the old permission are migrated; a session token issued before the upgrade keeps working until it expires.

The event handlers were renamed. OnProtectorStrike is now OnShieldStrike, OnBlocklistAdd is now OnShieldBan, and OnBlocklistHit is now OnShieldBanHit. Stored handlers, on the virtual site and on every user, are renamed by the migration. These events are notifications: a script on them runs off the enforcement path and can no longer veto a strike or a ban. They carry the address, the rule and the ban in EventCtx(); see Shield events.

The safe list moved. It is on the Shield page of the Admin UI now, next to the bans it exempts addresses from, and it is a true exemption: a safe listed address is never banned, however it behaves. It is still authenticated normally and still subject to the allow list.

The block list API is gone. The /adm/blocklist endpoints and the BlockListItem schema were removed. The /adm/shield/bans endpoints and the ShieldBan schema replace them, and the management console's own bans are at /sa/shield/bans. The existing block list entries are converted into Shield bans by the migration; the old collection is left in the database, unused, so an older backup still restores.

The protector* fields of the virtual site configuration are deprecated. They are still accepted so that older backups restore, and are ignored by the server. The rules live in the new shield block.

New accept level connection caps. Every listener now holds at most a configured number of open connections in total and per address, counted when a connection is accepted. The defaults (4096 in total, 64 per address, 128 per address on the web listener) sit far above any real client's needs. The existing session level limits are unchanged and still apply after authentication.

The management console applies its trusted proxy list. The Global Configuration's trusted proxies used to be stored and never used, so the console trusted whatever forwarded address a peer chose to send. It now honours the list: behind a reverse proxy that is not in it, the client address the console sees is the proxy's. Add your reverse proxy to the list.

Statistics counters keep their names. The dashboard's counters were kept for compatibility and remapped: the bans added by hammering now count connect and drop and network wide bans, the bans added by authentication failures count failed sign ins, slow and patient and username guessing bans, and the hits on the block list count attempts by banned addresses. A new counter, silent connections, counts connections that closed without sending a byte.