Commit Graph

198 Commits

Author SHA1 Message Date
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
Daniel
b68646c689 Use transaction for PutMany and cursor Query 2025-02-26 16:52:34 +01:00
Daniel
130c4a427c Fix timing on database root path initialization 2025-02-26 13:25:55 +01:00
Daniel
76c352da5a Make test parallel 2025-02-26 13:21:51 +01:00
Daniel
83292d761c Fix domain list generation within public suffix 2025-02-26 13:13:28 +01:00
Daniel
90ead7d5e5 Switch core and cache databases to use sqlite when bbold db is not present 2025-02-25 13:49:49 +01:00
Vladimir Stoilov
40b443282f [service] Fix IPv6 payload layer set 2025-02-11 13:55:29 +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