Commit graph

114 commits

Author SHA1 Message Date
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
Vladimir Stoilov
374c1c2748
Merge branch 'develop' into feature/new-installer 2024-11-28 13:23:13 +02:00
Daniel
ef0995b1f7 Define identifier for portmaster-core.dll and make it mandatory 2024-11-28 11:45:29 +01:00
Daniel
ed861d606b
Make saving IP and CNAMEs more defensive 2024-11-28 10:36:46 +02:00
Daniel
1ff6f34631
Notify packet issues asynchronously 2024-11-28 10:36:46 +02:00
Daniel
614d8972a2 Improve logging 2024-11-27 16:37:59 +01:00
Daniel
706ce222d0 WIP 2024-11-27 16:16:15 +01:00
Vladimir Stoilov
1a1bc14804
Feature/systemd query events (#1728)
* [service] Subscribe to systemd-resolver events

* [service] Add disabled state to the resolver

* [service] Add ETW DNS event listener

* [service] DNS listener refactoring

* [service] Add windows core dll project

* [service] DNSListener refactoring, small bugfixes

* [service] Change dns bypass rule

* [service] Update gitignore

* [service] Remove shim from integration module

* [service] Add DNS packet analyzer

* [service] Add self-check in dns monitor

* [service] Fix go linter errors

* [CI] Add github workflow for the windows core dll

* [service] Minor fixes to the dns monitor
2024-11-27 17:10:47 +02:00
Vladimir Stoilov
943b9b7859
Fix file permissions on windows (#1758)
* [service] Set file permissions on windows

* [service] Fix minor windows permission bugs

* [service] Fix permission bugs

* [service] Fix windows non admin user start
2024-11-26 17:00:01 +02:00
Daniel
f91003d077 [service] Move logging to the core, remove pkg level logs 2024-11-14 17:33:27 +01:00
Daniel
8b1bdc7eb1 WIP 2024-11-13 15:18:32 +01:00
Daniel
f4b96e1ce7 Make saving IP and CNAMEs more defensive 2024-11-12 15:13:44 +01:00
Daniel
07acb9befa Notify packet issues asynchronously 2024-11-12 15:11:07 +01:00
Daniel
a99b68ec91 Warn instead of failing when process username cannot be found 2024-11-12 15:10:41 +01:00
Daniel
ddf7ba170e Fix tests and issues 2024-11-08 14:39:58 +01:00
Daniel
c22814e6e1 Improve start and shutdown controls and flow 2024-11-07 16:20:58 +01:00
Daniel
9f148f9ea3 Improve updater notifications 2024-11-07 16:20:23 +01:00
Daniel
7bc1c3b764 Replace dataroot module with BinDir and DataDir on instance, adapt modules 2024-11-06 10:48:02 +01:00
Daniel
0f3f3c360f [WIP] Simplify update system 2024-10-31 16:38:12 +01:00
Daniel
d6669ff8f5 Remove unpack suffixes when generating an index bundle 2024-10-16 13:51:38 +02:00
Vladimir Stoilov
02791a4d42
[WIP] Add fallback on corrupted install 2024-10-10 13:02:13 +03:00
Daniel
5d9088f27e [WIP] Improve bundle generation 2024-10-09 16:50:46 +02:00
Vladimir Stoilov
8b68243cc6
[WIP] Add update from custom url functionality 2024-10-09 11:44:59 +03:00
Vladimir Stoilov
a874ec9412
[WIP] Fix unit tests 2024-10-08 14:13:08 +03:00
Vladimir Stoilov
a8517cd65f
[WIP] Fix minor bugs 2024-10-08 09:47:29 +03:00
Vladimir Stoilov
a79be8b6a9
[WIP] Improve downloader resilience 2024-10-07 16:00:30 +03:00
Vladimir Stoilov
71f67a8936
[WIP] Improve CI build 2024-10-07 11:26:27 +03:00
Vladimir Stoilov
8e1f3c0ed9
[WIP] Add CI for building deb,rpm installers 2024-10-02 15:37:39 +03:00