Network access and privacy
Summary
| Version | Connection | When |
|---|---|---|
| Full | Sign-in, in the user’s web browser | When a user signs in on a computer |
| Full | Licence checks | When VDZ starts, and once a day while it is open |
| Full, installed with Setup.exe | An update check to the update server | When VDZ opens and once a day, unless the user set Updates to Off |
| Full | Crash reports to Sentry | When VDZ crashes, unless the user has turned off Send crash reports |
| Demo | A time check | Once, the first time the demo starts |
| Demo | Crash reports to Sentry | When VDZ crashes, unless the user has turned off Send crash reports |
VDZ makes no other connection. It has no usage analytics and no library downloads. The demo has no sign-in and no licence check. VDZ installed from an MSI never checks for updates.
Update checks
VDZ installed with VDZ-Setup-<version>.exe reads a small file
(releases.stable.json) from the update server, and downloads a new version
from there when there is one. The check sends no user, computer or project
details. Every download is checked against the file’s SHA-256 before it is
installed. VDZ reads the update server only over HTTPS: it refuses an
http:// address, except one on the computer itself (such as localhost or
127.0.0.1), and it never follows a redirect from https:// to http://.
The update server is data.zerocross.com.au, and its address is built into
each release. Like crash reports,
update checks use the operating system’s certificate store, so a
TLS-inspecting proxy works when its certificate is trusted by the system. They
use a proxy only when the HTTPS_PROXY environment variable is set. To stop
update checks, set Updates to Off on each computer, block the update
server, or install the MSI instead.
Firewall rules
| Host | Port | Purpose |
|---|---|---|
zerocross.com.au | 443 (HTTPS) | Full version only. The VDZ licensing service: sign-in in the web browser, the licence checks, and the VDZ account page. VDZ also adds and removes its computers through this host. |
data.zerocross.com.au | 443 (HTTPS) | Full version installed with Setup.exe only. Update checks and update downloads. |
o4512378681360384.ingest.de.sentry.io | 443 (HTTPS) | Crash reports. The service is hosted in the European Union (Germany). |
www.microsoft.com, www.cloudflare.com, www.google.com | 443 (HTTPS) | Demo only. VDZ reads the date from one of these sites on first start. It needs only one of them. |
Licence checks
The full version checks its licence. The demo does not.
Signing in
A user signs in once on each computer. VDZ opens the licensing service’s
sign-in page in the user’s default web browser. The browser hands the result
back to VDZ on 127.0.0.1, on a port that VDZ picks for that sign-in. This
stays on the computer and needs no firewall rule. VDZ never sees the user’s
password.
VDZ then adds the computer to the licence. The licensing service gives VDZ a
session for that computer and a signed licence for it. All licensing goes to
zerocross.com.au.
What VDZ sends
| Item | Sent |
|---|---|
| A fingerprint of the computer | Yes. It is the SHA-256 hash of the operating system’s machine ID. The machine ID itself is not sent. |
| The computer name and the operating system | Yes. Users see them in the list of their computers. |
| The computer’s session with the licensing service | Yes. It is tied to one user, one licence and one computer. |
| Project data, library data and file names | No. |
When VDZ checks
- VDZ checks the licence when it starts and once a day while it is open. It sends the computer’s session and gets back a new signed licence, encrypted for that computer. No licence key is sent. If a check fails, VDZ tries again after an hour.
- If the licence has ended, VDZ checks again after an hour, so a renewal takes effect without the user doing anything.
- VDZ does not wait for a check. It opens with the licence that it has on the computer.
- Without a connection, VDZ works for 30 days after the last successful check, or until the licence ends, whichever is sooner. It warns the user during the last 3 days.
- If the computer’s clock is set back by more than a day, VDZ asks the user to sign in again.
Computers without internet access
The full version needs to reach zerocross.com.au at least once every 30 days.
A computer that never has the internet cannot use it.
Where the licence is kept
The computer’s session and the key that opens its signed licence are in the
operating system’s credential store. The signed licence is in licence.json.
See Files and folders. The signed licence is tied to
the computer: a copy of it, or of the whole profile, does not work on another
computer.
The fingerprint changes when the operating system is reinstalled, when a disk
image is cloned without a new machine ID (on Windows, without sysprep), or
when a Mac’s logic board is replaced. The user then signs in again.
Proxies
Licence checks do not read the system proxy settings or a PAC file. They use a
proxy only when the HTTPS_PROXY environment variable is set. They use the
operating system’s certificate store, so a TLS-inspecting proxy works when its
certificate is trusted by the system. Sign-in runs in the web browser and uses
the browser’s own proxy settings.
Crash reports
The user’s choice
Preferences → Privacy has two settings. VDZ never asks the user to change them.
| Setting | Default | What it sends |
|---|---|---|
| Send crash reports | On | A report of the error, with personal details removed. |
| Send memory dumps | Off | A memory dump as well, for a crash in system-level code. |
- Turning a setting on takes effect the next time VDZ starts.
- Turning a setting off takes effect at once.
- Send memory dumps does nothing while Send crash reports is off.
A computer where VDZ was installed before this change sends crash reports too, unless the user had turned Send crash reports off.
What a report holds
| Item | Sent |
|---|---|
| The error and where in the program it happened | Yes |
| The VDZ version | Yes |
| A random installation ID | Yes. It is created the first time VDZ starts with reporting on and deleted when the user turns reporting off. |
| The user name and computer name | No. VDZ replaces them before sending. |
| File and folder paths, and file names of projects, libraries, PDFs and spreadsheets | No. VDZ replaces them before sending. |
| A memory dump | Only when the user has turned on Send memory dumps, and only for a crash in system-level code. See below. |
For most crashes, VDZ removes personal details from the report before it is sent. If VDZ cannot clean a report, it does not send it.
A memory dump holds part of VDZ’s memory at the time of the crash. It can hold project data, and VDZ cannot clean it. This is why Send memory dumps is off by default. While it is off, a crash in system-level code sends nothing.
When Send memory dumps is on, VDZ starts a separate VDZ crash reporter process. That process sends the memory dump.
Turning crash reports off
Reporting is on unless the user turns it off. VDZ has no setting that stops a user turning it on, or turning on Send memory dumps. To make sure that no report leaves your network, block the Sentry host on your firewall. VDZ works normally when it cannot reach the host.
The choices are stored in crash-reporting.txt in the user’s local VDZ folder
(see Files and folders). VDZ makes the file the
first time it starts with reporting on, to hold the installation ID.
| Line in the file | Meaning |
|---|---|
consent=off | Send crash reports is off. VDZ sends nothing. |
consent=on, or no consent line | Send crash reports is on. |
memory-dumps=on | Send memory dumps is on. |
install-id=… | The random installation ID. |
To turn reporting off for a user before they first start VDZ, deploy the file
with the one line consent=off. If VDZ cannot read the file, or does not
understand it, it sends nothing.
Proxies
Crash reporting does not read the system proxy settings or a PAC file. It uses
a proxy only when the HTTPS_PROXY environment variable is set. It uses the
operating system’s certificate store, so a TLS-inspecting proxy works when its
certificate is trusted by the system.
Local error reports
Separately from crash reporting, VDZ always writes a text report to the
ErrorReports folder of the VDZ root folder when it crashes or meets a serious
error. These reports stay on your systems. VDZ never sends them.
A local report holds the VDZ version, the time, the user name, the operating system and the technical details of the error. Users can send a report to HyEnergy Solutions when they ask for help.