Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
386 commits
Select commit Hold shift + click to select a range
3bb9d32
fix(profile): unlock layers before releasing the layered profile in U…
0n113 Nov 17, 2026
4f04259
fix(notifications): keep deleted notifications deleted under concurre…
0n113 Nov 17, 2026
48a1f69
fix(updates): restore the previous index when an upgrade is rolled back
0n113 Nov 17, 2026
8f0f559
perf(netquery): save and push connections without holding the connect…
0n113 Nov 17, 2026
0c75af5
perf(netquery): do not rewrite the ID and start indexes on connection…
0n113 Nov 17, 2026
df9ceaa
perf(netquery): only marshal connection updates for subscribers
0n113 Nov 17, 2026
d520aa1
perf(network/state): do not refetch socket tables that are newer than…
0n113 Nov 17, 2026
0cee9a2
fix(resolver): keep the local addr factory settable after setting none
0n113 Nov 17, 2026
a6fbf28
fix(database): keep write-cached records when flushing them is aborted
0n113 Nov 17, 2026
8f0d827
fix(process): encode processes for the API under the process lock
0n113 Nov 17, 2026
f88f5fc
fix(spn/docks): clean up failed expansions promptly
0n113 Nov 17, 2026
e6fac10
fix(spn/docks): end capacity test handler when the op is stopped
0n113 Nov 17, 2026
1efa844
fix(spn/terminal): access the unit scheduler atomically
0n113 Nov 17, 2026
026b992
fix(notifications): only remove own map entry when deleting
0n113 Nov 17, 2026
1487d02
fix(notifications): make Delete on a never-saved notification a no-op
0n113 Nov 17, 2026
9000f73
fix(spn): finish the last unit when worker loops exit
0n113 Nov 17, 2026
a85f15c
fix(spn/terminal): never report more than 65535 free space at once
0n113 Nov 17, 2026
d4ca2ff
fix(spn/terminal): access the rng feeder atomically
0n113 Nov 17, 2026
bb58d80
fix(spn/crew): return a real error when authentication is aborted
0n113 Nov 17, 2026
d3541ce
fix(updates): remove new-only files and stray .copy files on rollback
0n113 Nov 17, 2026
0e75efd
perf(intel): merge filter list names without a map
0n113 Nov 17, 2026
fc0ccff
fix(profile): derive wrapped options from an atomically published lay…
0n113 Nov 17, 2026
b560240
fix(ebpf): report bandwidth as additive deltas and stop writing to th…
0n113 Nov 17, 2026
beb4656
refactor(process): remove unused GetExecHash
0n113 Nov 17, 2026
87910d2
fix(resolver): do not drop TCP replies that arrive before the query w…
0n113 Nov 17, 2026
6d41451
fix(updates): create the main directory, not the purge directory, if …
0n113 Nov 17, 2026
595ff26
fix(updates): delete the source after the copy fallback of moveFile
0n113 Nov 17, 2026
81f4bfc
fix(updates): back up an ignored file that a new artifact replaces
0n113 Nov 17, 2026
8621877
fix(firewall): hold additive bandwidth of unknown connections briefly
0n113 Nov 17, 2026
9ca66d8
test(spn/crew): fix TestConnectOp and explain why it needs the network
0n113 Nov 17, 2026
82c66c0
test(spn/crew): cover abandoning unused expansions in establishRoute
0n113 Nov 17, 2026
b010f3c
fix(config): write config file atomically
0n113 Nov 17, 2026
da2ea25
fix(config): avoid deadlock between concurrent config saves
0n113 Nov 17, 2026
9f41c70
fix(config): reject null values instead of panicking on possible values
0n113 Nov 17, 2026
2f12106
fix(config): reject int values outside of the int64 range
0n113 Nov 17, 2026
151dea9
fix(api): do not panic on unknown API keys shorter than four bytes
0n113 Nov 17, 2026
649faff
fix(api): enforce the request body limit when no length is declared
0n113 Nov 17, 2026
6e7da4f
fix(api): modify records under their lock in the database insert oper…
0n113 Nov 17, 2026
de6d9b4
fix(api): reject database inserts into records without an accessor
0n113 Nov 17, 2026
3c472f0
fix(profile/endpoints): reject rules that are only a comment
0n113 Nov 17, 2026
bec587d
fix(profile/endpoints): do not drop scopes listed twice
0n113 Nov 17, 2026
3e0819f
fix(profile/endpoints): accept port names that contain a hyphen
0n113 Nov 17, 2026
044c32a
test(profile/endpoints): fuzz rule parsing and String() round-trip
0n113 Nov 17, 2026
82c2cae
fix(ui): synchronize archive cache with the upgrade lock
0n113 Nov 17, 2026
6101e3c
fix(sync): check existing profiles in the import target source
0n113 Nov 17, 2026
3d4a47c
fix(sync): strip unused presentation path from the export, not the pr…
0n113 Nov 17, 2026
0f3ed6c
fix(compat): abort self-check DNS query wait on cancellation
0n113 Nov 17, 2026
8f25e42
fix(desktop): do not truncate PortAPI messages at '|' inside payloads
0n113 Nov 17, 2026
545850a
fix(desktop): validate UTF-8 of PortAPI frames instead of from_utf8_u…
0n113 Nov 17, 2026
e703b3e
fix(desktop): bound the PortAPI connect with a 5s timeout
0n113 Nov 17, 2026
c5ac4ad
fix(desktop): satisfy clippy needless_splitn in PortAPI message parsing
0n113 Nov 17, 2026
b00fcd0
fix(updates): report a failed restore on rollback and keep the purged…
0n113 Nov 17, 2026
2c86f46
fix(updates): restore a directory that a new artifact replaced on rol…
0n113 Nov 17, 2026
61ae442
fix(compat): make selfcheckFails atomic to avoid race with stop()
0n113 Nov 17, 2026
f5a9774
fix(sync): initialize nil profile Config before importing settings
0n113 Nov 17, 2026
7dd0f07
fix(ui): treat archive directory entries as missing files
0n113 Nov 17, 2026
744ad60
test(resolver): retry port selection in TestTCPResolverDialRetriesOnB…
0n113 Nov 17, 2026
7b866c7
fix(api): report ready only once Portmaster has completed starting
0n113 Nov 17, 2026
cbab907
fix(api): do not marshal a nil record returned by a RecordFunc
0n113 Nov 17, 2026
23b2813
fix(api): limit the size of database websocket messages
0n113 Nov 17, 2026
402e925
test(api): verify that slow request headers are timed out
0n113 Nov 17, 2026
57eb074
test(packet): fuzz ParseLayer3 and ParseLayer4
0n113 Nov 17, 2026
1e48641
fix(packet): do not let decoders read past the end of the packet
0n113 Nov 17, 2026
c36c58a
fix(nameserver): do not report a successful retry as write failure
0n113 Nov 17, 2026
870e2e5
test(nameserver): fuzz responders and test early request replies
0n113 Nov 17, 2026
996fdf5
fix(spn/hub): do not panic when naming a hub without announcement
0n113 Nov 17, 2026
db7e61a
fix(spn/hub): reject status messages with null keys or lanes
0n113 Nov 17, 2026
eb14aab
fix(spn/hub): check hub ID digest length before parsing it
0n113 Nov 17, 2026
adf45b0
fix(spn/captain): check block sizes in publish op init data
0n113 Nov 17, 2026
a41f14d
test(spn/hub): fuzz hub msg opening and validation
0n113 Nov 17, 2026
7b258a6
fix(spn/access): reject pblind tokens without signature
0n113 Nov 17, 2026
82d0060
fix(updates): keep file permissions when rolling back a failed upgrade
0n113 Nov 17, 2026
f15fadc
fix(nameserver): reply with server failure if resolved DNS cannot be …
0n113 Nov 17, 2026
5dab97e
fix(broadcasts): do not panic on broadcasts without content
0n113 Nov 17, 2026
6ad5b4c
fix(spn): check block sizes of received init data before reading them
0n113 Nov 17, 2026
e992240
chore(gitignore): track fuzzing corpora in testdata/fuzz
0n113 Nov 17, 2026
8b9d3b2
fix(updates): keep an on-disk marker for files of an uncommitted upgrade
0n113 Nov 17, 2026
ef62b7a
fix(spn/sluice): do not panic when the UDP listener is closed during …
0n113 Nov 17, 2026
6108c83
fix(spn/sluice): close the listener when the module stops before it r…
0n113 Nov 17, 2026
6b1e1f1
fix(spn/sluice): ignore and replace expired pending requests
0n113 Nov 17, 2026
cef93be
test(spn/sluice): cover sluice request lifecycle and UDP listener
0n113 Nov 17, 2026
cde7fbc
fix(log): restart the log writer after a recovered panic
0n113 Nov 17, 2026
4abbcfc
fix(metrics): write Go runtime metrics when only a namespace is set
0n113 Nov 17, 2026
c0ab235
fix(apprise): limit how much of an error response body is read
0n113 Nov 17, 2026
be48bf6
fix(metrics): limit how much of a push error response body is read
0n113 Nov 17, 2026
1032336
fix(spn): reject gzip compressed dsd data received from other parties
0n113 Nov 17, 2026
afc664c
fix(spn): reject msgpack data with lengths larger than the data
0n113 Nov 17, 2026
33267c3
fix(spn/hub): reject hub messages with null signature or TOFU key
0n113 Nov 17, 2026
92499ef
fix(splittun/proxy): do not tear down one-way active TCP sessions as …
0n113 Nov 17, 2026
cd9a112
fix(splittun/proxy): keep UDP sessions with client-only traffic alive
0n113 Nov 17, 2026
127239f
fix(control): do not orphan pause/error notifications after a failed …
0n113 Nov 17, 2026
f30cd6e
fix(core): do not block app authorization action when the requester i…
0n113 Nov 17, 2026
0ce1cc4
fix(status): apply the latest module states regardless of callback order
0n113 Nov 17, 2026
53f03d3
fix(interop/ivpn): subscribe to config changes once per IVPN session
0n113 Nov 17, 2026
e5567d4
fix(integration): do not expose partially loaded ETW functions
0n113 Nov 17, 2026
afbfc73
fix(control): do not let a superseded resume worker undo a new pause
0n113 Nov 17, 2026
736e11c
fix(spn): check block sizes of received letters before reading them
0n113 Nov 17, 2026
3fc134d
fix(spn/hub): limit the length of hub IDs before decoding them
0n113 Nov 17, 2026
a557f2c
test(mgr): measure the elapsed time in worker delay tests
0n113 Nov 17, 2026
2814b8d
fix(log): detach trace lines under lock when submitting a ContextTracer
0n113 Nov 17, 2026
9191625
fix(resolver): serialize the nameserver config change check
0n113 Nov 17, 2026
eaa55f0
fix(spn/sluice): fail pending tunnel requests under the connection lock
0n113 Nov 17, 2026
9b55b03
fix(runtime): do not let an exact-key provider hide providers below a…
0n113 Nov 17, 2026
087315e
fix(metrics): bound the metrics push request with a timeout
0n113 Nov 17, 2026
89d7117
test(mgr): check the total time of repeated worker runs
0n113 Nov 17, 2026
0dcf9cd
test(api): start measuring the read header timeout before connecting
0n113 Nov 17, 2026
a2625fe
fix(spn/ships): keep data read during the HTTP upgrade handshake
0n113 Nov 17, 2026
3d59ee0
perf(process): look up known processes without reading /proc/stat
0n113 Nov 17, 2026
090419e
perf(netquery/orm): stop allocating every visited column in GetColumnDef
0n113 Nov 17, 2026
4b3f99a
perf(netquery/orm): cut per-column allocations when decoding rows int…
0n113 Nov 17, 2026
b5bddef
perf(netquery/orm): cache result column names per statement in RunQuery
0n113 Nov 17, 2026
5128abb
perf(database/sqlite): use anonymous placeholders in the batch upsert
0n113 Nov 17, 2026
242c114
perf(resolver): parse cached name records only once
0n113 Nov 17, 2026
b05b189
perf(nameserver/nsutil): build plain message records without the zone…
0n113 Nov 17, 2026
c32b8d2
perf(resolver): build IPInfo keys without fmt.Sprintf
0n113 Nov 17, 2026
3c82e7b
perf(spn/docks): assemble crane shipments in a byte buffer
0n113 Nov 17, 2026
4860bcb
perf(spn/terminal): build the message header in one buffer
0n113 Nov 17, 2026
2e5921e
perf(spn/terminal): use pooled timers when Send has to wait
0n113 Nov 17, 2026
030ee0f
test(database/accessor): do not modify the shared test data
0n113 Nov 17, 2026
6cedec3
fix(spn/ships): release shared HTTP listeners and serve requests conc…
0n113 Nov 17, 2026
7f75ba3
fix(netquery): return valid JSON for connections with empty extra data
0n113 Nov 17, 2026
4ed1744
perf(intel): collect the domains for filter list lookups on the stack
0n113 Nov 17, 2026
5ae6e51
perf(netquery): encode the connection extra data from a struct
0n113 Nov 17, 2026
874f0b1
Merge pull request #4 from 0n113/update/upstream-sync-stability
0n113 Nov 17, 2026
0f454b7
fix(netutils): treat deprecated site-local IPv6 addresses as site-local
0n113 Nov 17, 2026
a575b80
fix(spn/access): detect test binaries on Windows
0n113 Nov 17, 2026
f07f444
test: make the rollback and OnceAgain tests pass on Windows
0n113 Nov 17, 2026
237cb14
test: add a local VM test suite for Linux as root and Windows
0n113 Nov 17, 2026
74c5b6b
fix(renameio): set the ACL of the new file in WriteFile on Windows
0n113 Nov 17, 2026
c0dca34
test(spn/terminal): keep the message buffered before stopping the sender
0n113 Nov 17, 2026
adb2add
Merge pull request #5 from 0n113/test/vm-suite
0n113 Nov 17, 2026
ab1c7fb
test: run the VM test suite on Proxmox VE
0n113 Nov 17, 2026
ef997cf
fix(ui): close archives only once no file is served from them
0n113 Nov 17, 2026
b8fca9f
Merge pull request #6 from 0n113/fix/ui-archive-close
0n113 Nov 17, 2026
d7b0eea
Merge pull request #7 from 0n113/test/vm-suite
0n113 Nov 17, 2026
c5b7416
fix(log): do not close the log file while it is written to
0n113 Nov 17, 2026
c363c46
fix(interop/ivpn): do not report a missing IVPN client as a worker error
0n113 Nov 17, 2026
be5dd85
fix(dnsmonitor): stop cleanly without an ETW session and avoid a race
0n113 Nov 17, 2026
56f230f
test(ui): yield in the request loop of the upgrade lock test
0n113 Nov 17, 2026
3e15ae9
build: switch to Go 1.27
0n113 Nov 17, 2026
bca8eec
Merge no-spn-no-telemetry into development
0n113 Nov 17, 2026
1928f5b
fix(ui): send no support requests or debug info to Safing
0n113 Nov 17, 2026
24856a1
fix(ui): remove the source tracking parameter from links
0n113 Nov 17, 2026
bc84f32
fix(netenv): check DNS without contacting a Safing server
0n113 Nov 17, 2026
598f807
ci: guard against Safing contacts in sync, UI and online check
0n113 Nov 17, 2026
d94519a
ci: run the Go workflow when the toolchain or its config changes
0n113 Nov 17, 2026
0d3fc54
Merge pull request #8 from 0n113/fix/windows-shutdown-and-logs
0n113 Nov 17, 2026
05d2d72
fix(vmtest): probe SSH with a command that works in PowerShell
0n113 Nov 17, 2026
c7c60c4
Merge pull request #9 from 0n113/chore/go-1.27
0n113 Nov 17, 2026
adf5e17
Merge remote-tracking branch 'origin/development' into feat/no-teleme…
0n113 Nov 17, 2026
dd9ad3f
lint: keep exhaustruct disabled under its new name
0n113 Nov 17, 2026
5393f53
fix(ui): satisfy the lint check on files touched by the telemetry rem…
0n113 Nov 17, 2026
421ec46
test(spn/terminal): report why a counter operation stopped early
0n113 Nov 17, 2026
a2fa89d
ci: run the Tauri clippy job with the Rust version of the builds
0n113 Nov 17, 2026
0a5d6c7
Merge pull request #11 from 0n113/test/spn-counter-error
0n113 Nov 17, 2026
6562e05
Merge pull request #10 from 0n113/feat/no-telemetry-unlocked
0n113 Nov 17, 2026
11aecf2
test(vmtest): add a soak test for leaks under constant traffic
0n113 Nov 17, 2026
492a367
fix(netenv): retry a failed DNS check once before going offline
0n113 Nov 17, 2026
304e477
Merge remote-tracking branch 'origin/development' into test/vm-soak
0n113 Nov 17, 2026
bbc4b48
test(database/bbolt): tolerate a single slow write during maintenance
0n113 Nov 17, 2026
84300f5
chore: remove soak test files committed here by mistake
0n113 Nov 17, 2026
cc32540
Merge pull request #13 from 0n113/fix/netenv-dns-check-retry
0n113 Nov 18, 2026
4ca4def
fix(updates): abort downloads that stop making progress
0n113 Nov 18, 2026
6c4b3a2
test(vmtest): add the Windows soak test and measure the Go heap
0n113 Nov 18, 2026
f51ba80
Merge pull request #14 from 0n113/fix/updates-download-stall
0n113 Nov 18, 2026
6c68754
Merge pull request #12 from 0n113/test/vm-soak
0n113 Nov 18, 2026
94b8426
fix(api): allow the UI to connect only to the local API
0n113 Nov 18, 2026
515c2bd
Merge pull request #15 from 0n113/fix/csp-no-safing
0n113 Nov 18, 2026
96e58f2
feat(ui): remove the SPN and account UI
0n113 Nov 18, 2026
0c17008
fix(ui): resolve lint errors in the files touched by the SPN removal
0n113 Nov 18, 2026
d1465ca
Merge pull request #16 from 0n113/feat/remove-spn-ui
0n113 Nov 18, 2026
7377200
feat: build portmaster-core without the SPN
0n113 Nov 18, 2026
92691c9
Merge pull request #17 from 0n113/feat/core-without-spn
0n113 Nov 18, 2026
c4c9ec6
fix(ivpn): do not log a missing IVPN client as an error on Linux
0n113 Nov 18, 2026
7e8009a
Merge pull request #18 from 0n113/fix/ivpn-not-installed-linux
0n113 Nov 18, 2026
92ad88c
fix(ebpf): load the eBPF programs on kernels with the extended BTF he…
0n113 Nov 18, 2026
0fef82a
fix(status): log the worst state at debug level
0n113 Nov 18, 2026
d68f94e
Merge pull request #19 from 0n113/fix/ebpf-new-kernel-btf
0n113 Nov 18, 2026
2dcf706
Merge pull request #20 from 0n113/fix/status-worst-state-log
0n113 Nov 18, 2026
2b5b241
test(vmtest): check that eBPF bandwidth data reaches netquery
0n113 Nov 18, 2026
2e75f94
Merge pull request #21 from 0n113/test/vmtest-bandwidth
0n113 Nov 18, 2026
67ef874
fix(deps): update dependencies with known vulnerabilities
0n113 Nov 18, 2026
746702e
Merge pull request #22 from 0n113/fix/deps-x-image
0n113 Nov 18, 2026
9b1f05b
fix(tauri): build with current Rust by updating arboard
0n113 Nov 18, 2026
09ecff1
Merge pull request #23 from 0n113/fix/tauri-current-rust
0n113 Nov 18, 2026
d8474f8
fix(windows): build the core DLL with the static C runtime
0n113 Nov 18, 2026
dd14fc6
test(vmtest): test a given core DLL in the Windows smoke test
0n113 Nov 18, 2026
119fd62
Merge pull request #24 from 0n113/fix/core-dll-static-crt
0n113 Nov 18, 2026
453fbc5
fix(utils): keep call limiters working when the clock is set back
0n113 Nov 19, 2026
146787b
Merge pull request #25 from 0n113/fix/call-limiter-clock-jump
0n113 Nov 19, 2026
4d11892
fix(profile): reject rules with a reversed port range
0n113 Nov 19, 2026
23e8bd7
fix(log): create log files with 0600 permissions
0n113 Nov 19, 2026
4968f59
fix(config): make flattening deterministic for duplicate keys
0n113 Nov 19, 2026
19bba9a
fix(resolver): treat .free as an official TLD
0n113 Nov 19, 2026
1e8cc18
fix(ui): link to x.com instead of the retired twitter.com
0n113 Nov 19, 2026
d9e0677
Merge pull request #26 from 0n113/fix/small-upstream-bugs
0n113 Nov 19, 2026
d8fcd64
Merge pull request #27 from 0n113/fix/free-tld-and-x-link
0n113 Nov 19, 2026
ff1276e
fix(windows): flush the DNS Client cache when interception starts
0n113 Nov 19, 2026
2b03b23
test(vmtest): check a domain rule on a name with a CNAME outside the …
0n113 Nov 19, 2026
0eae32b
Merge pull request #28 from 0n113/fix/cname-rule-match
0n113 Nov 19, 2026
6047aa5
fix(tauri): drop the TLS backend of reqwest, so the UI no longer need…
0n113 Nov 19, 2026
cd33ff8
Merge pull request #29 from 0n113/fix/tauri-no-openssl
0n113 Nov 19, 2026
c34320e
fix(api): identify the process that requests app authorization
0n113 Nov 19, 2026
c6800b0
fix(ui): do not render app names as trusted HTML
0n113 Nov 19, 2026
37c208e
test(vmtest): check that app/auth identifies the caller
0n113 Nov 19, 2026
92614ca
fix(updates): retry failed downloads
0n113 Nov 19, 2026
5ab4efb
Merge pull request #30 from 0n113/fix/app-auth-and-name-injection
0n113 Nov 19, 2026
3207d9f
Merge pull request #31 from 0n113/fix/updater-retry
0n113 Nov 19, 2026
56ef26a
fix(dns): flush systemd-resolved cache on start, keep CNAME chains
0n113 Nov 19, 2026
574f9d0
Merge pull request #32 from 0n113/fix/updates-initial-check
0n113 Nov 19, 2026
ff06129
fix(network): do not name connections to 0.0.0.0 and ::
0n113 Nov 19, 2026
15f773c
Merge pull request #33 from 0n113/fix/unspecified-ip-names
0n113 Nov 19, 2026
2509771
test(vmtest): check local UDP delivery on Windows
0n113 Nov 19, 2026
9016995
Merge pull request #34 from 0n113/test/windows-udp-loopback
0n113 Nov 19, 2026
d340450
fix(updates): do not start upgrades into a read-only installation
0n113 Nov 19, 2026
8c88d56
Merge pull request #35 from 0n113/fix/updates-readonly-install
0n113 Nov 19, 2026
b678bbd
fix(tauri): cache app info per process, not per launcher binary
0n113 Nov 19, 2026
bcfc231
Merge pull request #36 from 0n113/fix/xdg-app-info-cache-key
0n113 Nov 19, 2026
4fe15d0
fix(api): only the app's webview inherits API trust from its parent
0n113 Nov 19, 2026
a54cfe4
Merge pull request #37 from 0n113/fix/api-trust-webview-only
0n113 Nov 20, 2026
0a4781b
fix(packaging): do not turn the UI binary into a symlink loop
0n113 Nov 20, 2026
e52109b
Merge pull request #38 from 0n113/fix/postinst-symlink-loop
0n113 Nov 20, 2026
fd7b6ae
perf(database/sqlite): write records without a RETURNING clause
0n113 Nov 20, 2026
b21e53b
perf(database): use one idle timer per PutMany batch
0n113 Nov 20, 2026
8394f38
perf(filterlists): reuse the entry buffer and buffer reads when decoding
0n113 Nov 20, 2026
9b8fea4
Merge pull request #39 from 0n113/perf/sqlite-upsert-no-returning
0n113 Nov 20, 2026
af0098c
test(vmtest): check filter list blocking in the Linux smoke test
0n113 Nov 20, 2026
96a5afa
Merge pull request #40 from 0n113/test/vmtest-filterlists
0n113 Nov 20, 2026
51f10af
fix(process): look up the UI path lazily and do not log it as an error
0n113 Nov 20, 2026
aaea899
test(vmtest): fail the Linux smoke test on error lines in the log
0n113 Nov 20, 2026
c067378
Merge pull request #41 from 0n113/fix/process-ui-path-lazy
0n113 Nov 20, 2026
bd701f7
fix(updates): report an installed upgrade as success in the update co…
0n113 Nov 20, 2026
f652ebf
Merge pull request #42 from 0n113/fix/update-cmd-restart-required
0n113 Nov 20, 2026
059eae5
test(vmtest): check that blocked connections fail at once
0n113 Nov 20, 2026
3c6dba3
Merge pull request #43 from 0n113/test/vmtest-windows-block-timing
0n113 Nov 20, 2026
a3e31fc
fix(tauri): update dependencies with security advisories, check Windo…
0n113 Nov 20, 2026
d15a3db
fix(tauri): clean up clippy findings in the Windows-only code
0n113 Nov 20, 2026
1902e95
fix(tauri): report a missing or failed system service correctly on Linux
0n113 Nov 20, 2026
5b669bf
Merge pull request #44 from 0n113/fix/tauri-deps-advisories
0n113 Nov 20, 2026
646d342
fix(tauri): do not log missing systemctl candidate paths as errors
0n113 Nov 20, 2026
5eccbc6
Merge pull request #45 from 0n113/fix/tauri-systemd-status
0n113 Nov 20, 2026
af7f371
fix(intel): do not warn on every connection while intel data is missing
0n113 Nov 20, 2026
bcb20e9
Merge pull request #46 from 0n113/fix/filterlists-not-loaded-log
0n113 Nov 20, 2026
4c80a4b
fix(firewall): do not apply the verdict of an ended connection to a n…
0n113 Nov 20, 2026
53a669f
fix(profile): do not report missing intel data as a settings failure
0n113 Nov 20, 2026
10fe649
Merge pull request #48 from 0n113/fix/global-profile-filterlists-startup
0n113 Nov 20, 2026
f2180d0
ci: time out the MinGW install step of the Windows clippy job
0n113 Nov 20, 2026
982fc0c
Merge pull request #47 from 0n113/fix/resolver-udp-retransmit
0n113 Nov 20, 2026
ff2d80b
Merge pull request #49 from 0n113/ci/clippy-windows-timeout
0n113 Nov 20, 2026
d5e8c38
fix(profile): apply app filter lists once the list index is available
0n113 Nov 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .github/workflows/angular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- 'desktop/angular/**'
branches:
- main
- no-spn-no-telemetry
- release-candidate/**
- development
- v1-legacy
- v1-legacy-develop
Expand Down Expand Up @@ -60,4 +62,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build angular projects
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +angular-ci
run: earthly --ci ${{ github.repository_owner == 'safing' && '--remote-cache=ghcr.io/safing/build-cache --push' || '' }} +angular-ci
30 changes: 25 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,31 @@ on:
push:
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'Earthfile'
- '.golangci.yml'
- '.github/workflows/go.yml'
- 'cmds/**'
- 'runtime/**'
- 'service/**'
- 'spn/**'
branches:
- main
- no-spn-no-telemetry
- release-candidate/**
- development
- v1-legacy
- v1-legacy-develop

pull_request:
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'Earthfile'
- '.golangci.yml'
- '.github/workflows/go.yml'
- 'cmds/**'
- 'runtime/**'
- 'service/**'
Expand All @@ -34,19 +46,27 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
# Full history, so that pull requests can be linted against the
# merge base with their base branch.
fetch-depth: 0

- name: Setup Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: '^1.26'
go-version: '^1.27'
cache: false

# For pull requests, new issues are determined via git against the merge
# base. The action's only-new-issues fetches the PR diff from the GitHub
# API instead, which fails for diffs over 20000 lines and then reports
# every pre-existing issue of the code base.
- name: Run golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: v2.12.2
only-new-issues: true
args: -c ./.golangci.yml --timeout 15m
version: v2.15.0
only-new-issues: ${{ github.event_name != 'pull_request' }}
args: -c ./.golangci.yml --timeout 15m ${{ github.event_name == 'pull_request' && format('--new-from-merge-base=origin/{0}', github.base_ref) || '' }}

- name: Run go vet
run: go vet ./...
Expand All @@ -68,4 +88,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Run Go Tests & Build
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +go-ci
run: earthly --ci ${{ github.repository_owner == 'safing' && '--remote-cache=ghcr.io/safing/build-cache --push' || '' }} +go-ci
4 changes: 3 additions & 1 deletion .github/workflows/kext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
- 'windows_kext/**'
branches:
- main
- no-spn-no-telemetry
- release-candidate/**
- development
- v1-legacy
- v1-legacy-develop
Expand Down Expand Up @@ -37,4 +39,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Kernel Extension
run: earthly --ci --remote-cache=ghcr.io/safing/build-cache --push +kext-ci
run: earthly --ci ${{ github.repository_owner == 'safing' && '--remote-cache=ghcr.io/safing/build-cache --push' || '' }} +kext-ci
156 changes: 156 additions & 0 deletions .github/workflows/no-telemetry-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
name: No-Telemetry CI

on:
push:
branches: [no-spn-no-telemetry, 'release-candidate/**']
pull_request:
branches: [development]

permissions:
contents: read

jobs:
full-go-build-and-test:
name: Full Go Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
cache: true
- name: Download modules
run: go mod download
- name: Verify go.mod / go.sum are tidy
run: |
go mod tidy
git diff --exit-code -- go.mod go.sum
- name: Build all packages
run: go build ./...
- name: Vet all packages
run: go vet ./...
# Upstream also runs the suite with -short (see Earthfile +go-test):
# "long" tests require a full desktop system.
- name: Test all packages
run: go test -short -count=1 ./...
- name: Race check on privacy-critical packages
run: go test -race -short -count=1 ./service/network/... ./service/netquery/... ./service/sync/... ./spn/access/...

no-telemetry-guard:
name: No telemetry and no network account API
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Reject known Safing account endpoints
run: |
! grep -RInE 'account\.safing\.io|telemetry\.safing\.io|api\.safing\.io' service/sync spn/access
- name: Reject outbound HTTP clients in sync and removed account packages
# service/sync serves the local import/export API and needs net/http
# for status codes, but must never send requests itself.
run: |
! grep -RInE 'net/http' spn/access
! grep -RInE 'http\.Client|http\.NewRequest|http\.(Get|Post|Head|PostForm)\(|DefaultClient' service/sync spn/access
- name: Reject Safing online check and tracking parameters
run: |
! grep -RIn --include='*.go' 'online-check\.safing\.io' service base
! grep -RIn 'source=Portmaster' service base desktop/angular/src desktop/angular/projects desktop/tauri/src-tauri/src
- name: Reject the Safing support hub in the UI
run: |
! grep -RIn 'support\.safing\.io' desktop/angular/src desktop/angular/projects
- name: Reject spn/access imports anywhere in service/
run: |
! grep -RIn --include='*.go' '"github.com/safing/portmaster/spn/access' service
- name: Reject subscription gating of settings
run: |
! grep -RIn --include='*.go' 'RequiresFeatureIDAnnotation:' service
- name: Ensure the obsolete login testsuite is excluded
run: grep -q '^//go:build ignore$' cmds/testsuite/login.go

angular-ui-build:
name: Angular UI Build (no account API)
runs-on: ubuntu-latest
defaults:
run:
working-directory: desktop/angular
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: desktop/angular/package-lock.json
- name: Install
run: npm ci --no-audit --no-fund
- name: Reject account/SPN API calls in the API library
run: |
! grep -RInE 'v1/spn/account|v1/account/features|account\.safing\.io|core:spn/account' projects/safing/portmaster-api/src
- name: Build libraries and UI
run: npm run build
- name: Reject account API calls in the production bundle
run: |
! grep -lE 'v1/spn/account|v1/account/features' dist/*.js

tauri-clippy:
name: Tauri (Rust) clippy, no warnings
runs-on: ubuntu-latest
timeout-minutes: 40
defaults:
run:
working-directory: desktop/tauri/src-tauri
steps:
- uses: actions/checkout@v4
- name: Install Tauri system dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y -qq --no-install-recommends \
libsoup-3.0-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev libgtk-3-dev
# Same Rust version as the builds (rust_version in the Earthfile), so
# that a new stable release cannot break this job without a change
# here.
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.89"
components: clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: desktop/tauri/src-tauri -> target
key: clippy-linux
- name: Create empty UI dist so the build script is satisfied
run: mkdir -p ../../angular/dist/tauri-builtin
- name: Clippy (all targets, deny warnings)
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Reject SPN leftovers in the tray/UI shell
run: |
! grep -rnE 'spn_toggle|set_spn_enabled|SPNStatus|models::spn' src

tauri-clippy-windows:
# The Windows-only code of the UI (notifications, service control) is not
# compiled by the Linux job, so check it for the target of the installer.
name: Tauri (Rust) clippy for Windows, no warnings
runs-on: ubuntu-latest
timeout-minutes: 40
defaults:
run:
working-directory: desktop/tauri/src-tauri
steps:
- uses: actions/checkout@v4
- name: Install MinGW cross toolchain
# A hanging mirror once blocked this step until the job timeout.
timeout-minutes: 10
run: |
sudo apt-get -o Acquire::Retries=3 -o Acquire::http::Timeout=30 update -qq
sudo apt-get -o Acquire::Retries=3 -o Acquire::http::Timeout=30 install -y -qq --no-install-recommends mingw-w64
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.89"
targets: x86_64-pc-windows-gnu
components: clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: desktop/tauri/src-tauri -> target
key: clippy-windows
- name: Create empty UI dist so the build script is satisfied
run: mkdir -p ../../angular/dist/tauri-builtin
- name: Clippy (Windows target, deny warnings)
run: cargo clippy --target x86_64-pc-windows-gnu --all-features -- -D warnings
Loading