Commit Graph

169 Commits

Author SHA1 Message Date
Alexandr Stelnykovych
d5698270e9 improvement(ebpf-Linux): enhance eBPF object loading for kernel compatibility and update attach points 2025-07-11 19:03:13 +03:00
Alexandr Stelnykovych
bcaf0b90f0 Refactor WorkerCtx to use a boolean for isStopWorker 2025-06-26 17:55:10 +03:00
Alexandr Stelnykovych
5d37c126bc Fixed SPN re-initialization
https://github.com/safing/portmaster/issues/1872
2025-06-26 17:14:57 +03:00
Natanael Rodriguez Ramos
cf75e90ea8 Merge branch 'v2.0' into task/refactor-spn 2025-05-28 11:41:10 +01:00
Alexandr Stelnykovych
ec2d4ca9eb Merge branch 'master' into merge/master-into-v2-with-history (v1 into v2)
# Conflicts:
#	Earthfile
#	base/config/main.go
#	base/database/dbmodule/db.go
#	base/database/main.go
#	go.mod
#	go.sum
#	service/core/base/global.go
2025-05-28 11:52:15 +03:00
Alexandr Stelnykovych
531d147936 Improve logging message format 2025-05-22 15:40:06 +03:00
Alexandr Stelnykovych
fbc93cc09f Add more descriptive comments + minor improvements 2025-05-22 15:30:05 +03:00
Alexandr Stelnykovych
3b91aa06ba Enhance default connection settings for Portmaster UI profile to block all connections, ensuring only necessary connections to Portmaster Core are allowed. 2025-05-21 18:12:50 +03:00
Alexandr Stelnykovych
11c4ae39d2 (Windows) Fix false-positive detection of Portmaster UI processes
Problem:
  System browsers launched from the Portmaster UI (e.g., when a user clicks a link) may be incorrectly detected as Portmaster UI child processes.

Solution:
  The Tauri UI app now sets the PORTMASTER_UI_WEBVIEW_PROCESS environment variable for all child WebView processes. Portmaster-core uses this variable to accurately determine if a process is truly related to the Portmaster UI.
2025-05-21 18:08:04 +03:00
Natanael Rodriguez Ramos
ec749b6be7 Merge branch 'v2.0' into task/refactor-spn 2025-05-18 20:59:38 +01:00
Alexandr Stelnykovych
cacf6c552a fix: (Windows) Replace ICO decoder for improved icon extraction
Implemented direct use of `sergeymakinen/go-ico` decoder instead of `mat/besticon/ico`
for icon conversion. The standard `image.Decode()` and  `mat/besticon/ico` approaches
failed with certain ICO files, particularly those containing cursor data
from Windows executable resources. This change ensures more reliable
handling of various ICO format variants.
2025-05-14 17:49:24 +03:00
Alexandr Stelnykovych
8f23846d1c fix: Save and apply profile icon if it hasn't been applied yet
Icon saving was not working in situations where profile.Name had not changed.
2025-05-13 18:13:32 +03:00
Alexandr Stelnykovych
6c98755c77 fix: Deadlock in TCP resolver 2025-05-07 17:33:55 +03:00
Daniel Hååvi
03da033cd2 Only use stale dns cache entries when the query result was successful
(cherry picked from commit f233a56eea)
2025-05-07 17:30:36 +03:00
Daniel Hååvi
f233a56eea Only use stale dns cache entries when the query result was successful 2025-05-05 15:05:48 +02:00
Alexandr Stelnykovych
d3e489f10a Merge branch 'v2.0' into feature/ui-security 2025-04-28 11:08:25 +03:00
Alexandr Stelnykovych
6a230b828c [updates] (Linux): custom post-upgrade commands + command to restore SELinux context 2025-04-22 17:36:42 +03:00
Alexandr Stelnykovych
7e61536992 [desktop] Portmaster UI process detection (including child processes) 2025-04-18 17:23:59 +03:00
Daniel
9801aae3e7 Fix SPN intel updates 2025-04-15 11:26:59 +02:00
Alexandr Stelnykovych
d96f61bd5c fix: [updater] preserve "uninstaller.exe" during upgrade + purged obsolete config of "ignore" files from binary index 2025-04-14 17:48:26 +03:00
Alexandr Stelnykovych
8337eef359 fix: [updater] "restart" action to apply updates 2025-04-14 17:44:12 +03:00
Alexandr Stelnykovych
f0c71c97d1 fix: [updater] crash when updater runs without UI instance 2025-04-14 10:57:12 +00:00
Natanael Rodriguez Ramos
c41d8221ff Merge branch 'v2.0' into task/refactor-spn 2025-04-14 09:44:09 +01:00
Alexandr Stelnykovych
7d5a8fd1dc Merge pull request #1861 from safing/feature/ui-serving-upgrade-lock
Add upgrade locking mechanism to core ui serving module
2025-04-14 10:05:22 +03:00
Alexandr Stelnykovych
2c6fe52d5f Merge pull request #1860 from safing/feature/call-limiter-2
CallLimiter2
2025-04-14 10:04:41 +03:00
Alexandr Stelnykovych
70c2fad662 Merge pull request #1853 from safing/feature/ui-security
UI process authentication
2025-04-14 10:03:24 +03:00
Natanael Rodriguez Ramos
589b1afa64 task(spn): Updated default intel index name 2025-04-11 14:05:59 +01:00
Natanael Rodriguez Ramos
6d22b9347a task(spn): Update SPN binary index url 2025-04-11 12:41:57 +01:00
Natanael Rodriguez Ramos
ecce583296 task(spn): Update SPN binary index url 2025-04-11 12:38:34 +01:00
Daniel
438f43156f Add upgrade locking mechanism to core ui serving module 2025-04-07 15:26:35 +02:00
Daniel
38d84b57b4 Use CallLimiter2 2025-04-07 14:23:58 +02:00
Vladimir Stoilov
c1c3197574 [service] Fix UI path detection 2025-04-01 14:33:15 +03:00
Alexandr Stelnykovych
b83b2901c8 [updates] fix: skip PurgeDirectory during backup 2025-03-28 17:20:49 +02:00
Alexandr Stelnykovych
2a85a4bfd0 [updates] fix: update from locally generated index (timestamps and downgrade) 2025-03-28 14:23:31 +02:00
Alexandr Stelnykovych
776b4860ef [updates] fix: use correct binaries index name 2025-03-26 17:35:27 +02:00
Alexandr Stelnykovych
b9a9129e81 Merge branch 'feature/sqlite-db-v1' into develop 2025-03-25 17:08:32 +02:00
Alexandr Stelnykovych
731ad885bb Merge pull request #1821 from safing/feature/installer-migration
Feature/installer migration
2025-03-25 17:06:35 +02:00
Alexandr Stelnykovych
b320ac24fb Merge pull request #1845 from safing/fix/generated-index-version
Use the current binary version for the generated index
2025-03-25 17:02:53 +02:00
Daniel
93b1623b61 Use the current binary version for the generated index 2025-03-25 15:00:24 +01:00
Alexandr Stelnykovych
aada179191 Merge branch 'v2.0' into feature/installer-migration 2025-03-21 15:41:29 +02:00
Alexandr Stelnykovych
9437a95645 Merge remote-tracking branch 'origin/fix/geoip-db-handling' into feature/installer-migration 2025-03-21 15:40:35 +02:00
Alexandr Stelnykovych
15bd31adb5 [desktop] Fix: Failed to display "News" on the dashboard 2025-03-21 13:38:10 +02:00
Daniel
a2b44d73ca Make sure main directory exists when starting updater module 2025-03-17 16:13:33 +01:00
Daniel
5ffb637321 Remove geoip db loading fallback with binary index 2025-03-17 16:10:38 +01:00
Daniel
be133b8856 Improve filterlist ingestion logging 2025-03-17 15:43:59 +01:00
Alexandr Stelnykovych
32c7f6e7d1 Merge branch 'feature/sqlite-db-v1' into develop 2025-03-17 16:31:48 +02:00
Daniel
c0d8d0c2f0 Add new PurgeOlderThan interface method to SQLite Database 2025-03-10 10:34:57 +01:00
Vladimir Stoilov
df6e95dcd7 [packaging] Add migration for linux installers 2025-03-05 16:13:00 +02:00
Daniel
67cfefde9b Fix tests 2025-03-04 17:05:03 +01:00
Daniel
b8ab348095 Fix tests and linters 2025-03-04 15:25:44 +01:00