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
Daniel Hååvi
6e173e3b96
Merge pull request #1763 from safing/fix/missing-dll-failure
...
Fix Missing dll failure
2024-12-02 15:23:07 +01: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
Daniel
ef0995b1f7
Define identifier for portmaster-core.dll and make it mandatory
2024-11-28 11:45:29 +01:00
Daniel
df4106fd70
Merge branch 'develop'
2024-11-27 16:40:03 +01:00
Daniel
614d8972a2
Improve logging
2024-11-27 16:37:59 +01:00
Daniel
acaf98144a
Bump kext version
2024-11-27 16:19:09 +01:00
Daniel
473f05becc
Update service deps
2024-11-27 16:19:02 +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
Vladimir Stoilov
ca88c6d8ad
[desktop] Update tauri ( #1760 )
2024-11-26 16:59:06 +02:00
Vladimir Stoilov
fe070b4f56
Feature/kext default action drop ( #1747 )
...
* [windows_kext] Make default action to drop
* [windows_kext] Minor improvments
2024-11-25 14:03:35 +02:00
Daniel
a4b76843e5
Bump kext version
2024-11-12 17:39:49 +01:00
Daniel
38e9e342f7
Update deps
2024-11-12 15:42:49 +01:00
Daniel Hååvi
ee58324aee
Merge pull request #1738 from safing/fix/core-deadlocks
...
Fix deadlocks and process username issue
2024-11-12 15:27:13 +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
Vladimir Stoilov
af3bb804bf
Fix reading only the needed TCP/UDP header bytes ( #1730 )
...
* [windows_kext] Fix reading only the needed TCP/UDP header bytes
* [windows_kext] Disable debug mode
* [windows_kext] Block all fragment packets
* [windows_kext] Improve wording for compiler error
2024-11-07 15:52:26 +02:00
Vladimir Stoilov
145f5e67de
[windows_kext] Improve documentation ( #1719 )
2024-10-28 08:35:02 +02:00
Daniel
d26ab22d92
Bump kext version
2024-10-16 13:53:48 +02:00
Vladimir Stoilov
355f74318d
[service] Fix check for invalid kext handle ( #1716 )
...
* [service] Fix check for invalid kext handle
* [windows_kext] Use BTreeMap as cache structure
* [windows_kext] Fix synchronization bug
* Update windows_kext/kextinterface/kext_file.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update windows_kext/kextinterface/kext_file.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update windows_kext/kextinterface/kext_file.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-10-16 12:19:08 +03:00
Daniel Hååvi
cfd877757d
Merge pull request #1675 from safing/fix/clipboard-bug
...
Fix clipboard issue when coping debug info
2024-09-03 15:03:52 +02:00
Vladimir Stoilov
f465f95e81
Update desktop/angular/src/app/prompt-entrypoint/prompt-entrypoint.ts
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-09-03 11:35:38 +03:00
Vladimir Stoilov
05a4093676
[desktop] improve theme detection and add manual theme selection.
2024-09-03 11:32:47 +03:00
Vladimir Stoilov
e162c81978
[desktop] Fix tauri unexpected exits
2024-09-03 11:31:15 +03:00
Vladimir Stoilov
4ed4640fee
[desktop] update tauri npm packages
2024-09-02 09:55:21 +03:00
Daniel
3775f5c6dd
[build] Fix build flags for portmaster-start
2024-08-30 15:32:02 +02:00
Daniel Hååvi
e160dfb091
Merge pull request #1673 from safing/fix/tauri-logging
...
[desktop] Move logging to user dir on windows.
2024-08-30 15:31:22 +02:00
Vladimir Stoilov
2ea21b5fb8
[desktop] Move logging to user dir on windows.
2024-08-30 14:49:35 +03:00
Daniel
30eb77d213
Bump UI version
2024-08-28 14:28:17 +02:00
Daniel Hååvi
91f4fe5c52
Merge pull request #1668 from safing/fix/spn-start-stop
...
Fix starting/stopping SPN + more
2024-08-28 14:26:13 +02:00
Daniel
57e81fb6fb
[service] Make linter happy
2024-08-28 11:55:40 +02:00
Daniel
4b2e4f208f
[service] Run event callbacks asynchronously
2024-08-28 11:55:32 +02:00
Daniel
de4cb5b34f
[service] Submit state clear event outside of lock
2024-08-28 11:55:01 +02:00
Daniel
c6ddaf8e1e
[service] Fix startup race condition
2024-08-28 11:52:45 +02:00
Daniel
113dc0438a
[service] Update golangci-lint
2024-08-28 11:51:13 +02:00
Daniel
78e4a40750
[service] Fix SPN build
2024-08-28 11:50:45 +02:00
Daniel
7f0b5ca149
[service] Fix starting and stopping of SPN
2024-08-27 16:42:22 +02:00
Daniel
57f08eccd7
[service] Add worker info system
2024-08-27 16:32:23 +02:00
Daniel
8b6b522aae
[service] Improve rng tickfeeder
2024-08-27 15:15:24 +02:00
Daniel
2fd7c61acb
Fix and improve start order
2024-08-23 10:18:33 +02:00
Daniel
b6b07296ae
[service] Do not warn when custom filter lists are not configured
2024-08-23 10:18:26 +02:00
Daniel
7df0fbb614
[desktop] Fix version information in UI
2024-08-23 10:17:49 +02:00
Daniel
8abe04cb07
Add missing core CLI options for Windows
2024-08-22 14:22:17 +02:00
Daniel
77d8e3818d
Bump UI version
2024-08-21 15:04:21 +02:00
Daniel
10dd83b153
Update and tidy deps
2024-08-21 15:00:58 +02:00
Daniel
4d5bbe42bd
[service] Deactivate android interface code for now
2024-08-21 15:00:52 +02:00
Daniel
b7ec90e2c5
[service] Fix windows build
2024-08-21 15:00:29 +02:00