Commit Graph

141 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Vladimir Stoilov
df6e95dcd7 [packaging] Add migration for linux installers 2025-03-05 16:13:00 +02:00
Vladimir Stoilov
59a106b9f2 Merge branch 'develop' into feature/new-installer 2025-01-27 17:26:00 +02:00
Vladimir Stoilov
0f28af66cd Add PID in ETW DNS event in the integration dll (#1768)
* [service] Add reading of PID in ETW DNS event

* [service] Use PID of the ETW DNS events

* [service] Fix use of nil pointer

* [service] Fix compiler error
2025-01-27 17:21:54 +02:00
Daniel
aa1bd0679c Improve updatemgr and updates module 2025-01-21 09:21:56 +01:00
Vladimir Stoilov
49e1fc8c31 [service] Ensure pemission for all directories 2025-01-15 11:43:14 +02:00
Vladimir Stoilov
9829136b8c [service] Fix file permission in the updates 2025-01-14 18:13:31 +02:00
Vladimir Stoilov
5039e9efca Merge branch 'develop' into feature/new-installer 2025-01-14 16:59:21 +02:00
Daniel Hååvi
b4fda1bdce Merge pull request #1780 from stenya/fix_logical_mistake
[fix] Logical mistake while determining local resolvers
2025-01-13 13:45:11 +01:00
Daniel Hååvi
0937bedd6c Merge pull request #1779 from stenya/fix_crash_SleepyTicker
[fix] Panic while accessing SleepyTicker methods Stop()/SetSleep()
2025-01-13 13:44:59 +01:00
Daniel Hååvi
241bf20c7a Merge pull request #1775 from stenya/intel_small_cache
[improvement] Small cache size
2025-01-13 13:44:31 +01:00
Alexandr Stelnykovych
6c014d227c [fix] Panic while accessing SleepyTicker methods Stop()/SetSleep()
The time.Ticker object was stored as a value type, but it is expected to be a pointer according to its implementation:
```
func (t *Ticker) Stop()
func (t *Ticker) Reset(d Duration)
```

This was leading to an application crash.

STR 1:
Run `portmaster-core` without privileged rights. It will not be able to start the kernel driver (Windows).
During unloading of already initialized modules, the process crashes because of stopping SleepyTicker instances in workers of the "network" module.

STR 2:
Run tests from `service\mgr\sleepyticker_test.go`
2024-12-17 15:49:52 +02:00
Alexandr Stelnykovych
df70c70ab5 [improvement] Small cache size
(2 ^ 8) = (2 XOR 8) = 10.
Was it intended to be 256?
2024-12-16 16:01:42 +02:00
Alexandr Stelnykovych
692838b696 [fix] Logical mistake while determining local resolvers 2024-12-13 17:02:38 +02:00
Vladimir Stoilov
fed64e6fbd Fix loggin dir 2024-12-12 16:33:02 +02:00
Vladimir Stoilov
0997f1ce26 Fix broadcast notifications 2024-12-11 16:13:06 +02:00
Vladimir Stoilov
b3c867efc6 Fix stack overflow bug 2024-12-11 16:12:31 +02:00
Vladimir Stoilov
c21a93a4d6 Add missing TODOs 2024-12-10 14:21:34 +02:00
Vladimir Stoilov
3101d0a7aa Fix windows installers 2024-12-10 13:46:31 +02:00
Vladimir Stoilov
05a5d5e350 [service] Fix unit tests 2024-12-06 14:47:24 +02:00
Vladimir Stoilov
22253c4e9e [service] Fix windows permissions 2024-12-06 12:00:20 +02:00
Vladimir Stoilov
5ae261f062 [WIP] Fix tauri notifications 2024-12-03 17:28:40 +02:00
Vladimir Stoilov
ed2338fdb9 [service] Fix error on unitilized dns monitor 2024-12-02 15:25:58 +02:00
Vladimir Stoilov
2a9d75433f [service] Fix module failure when dll is missing 2024-12-02 14:02:49 +02:00