Commit graph

2389 commits

Author SHA1 Message Date
Alexandr Stelnykovych
b9a9129e81 Merge branch 'feature/sqlite-db-v1' into develop 2025-03-25 17:08:32 +02: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
Alexandr Stelnykovych
4f3ebc7156
Merge pull request from safing/fix/spn_stickedHub_logical_issue
[fix] SPN - Improve sticky domain handling in getStickiedHub function
2025-03-17 16:15:45 +02:00
Daniel
9b12dfffc2 Add option to use prepared statements for SQLite PutMany 2025-03-17 14:13:53 +01:00
Daniel
2c8ab54104 Fix SQLite maintenance methods 2025-03-10 11:44:08 +01:00
Daniel
c0d8d0c2f0 Add new PurgeOlderThan interface method to SQLite Database 2025-03-10 10:34:57 +01: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
782c07d867 Update CI Linter config 2025-02-28 14:48:09 +01:00
Daniel
a13d52b68f Bump Go versions in CI 2025-02-28 14:44:39 +01:00
Daniel
71f6f09384 Use waitgroup instead of mutex for sqlite storage 2025-02-28 11:38:27 +01:00
Daniel
c04213219b Make format and value nullable and improve maintenance and purge queries 2025-02-28 10:21:59 +01:00
Daniel Hååvi
7373b8868b
Merge pull request from safing/fix/public-suffix-domain-list
Fix domain list generation within public suffix
2025-02-27 12:10:28 +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
Alexandr Stelnykovych
4721e58727 Update Go version to 1.24 and toolchain to 1.24.0 to support the 'tool' meta-pattern introduced in go.mod with Go v1.24 2025-02-26 13:03:57 +02: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
Daniel
c742c7dfd1 Add SQLite database storage backend 2025-02-25 11:48:16 +01:00
Alexandr Stelnykovych
fe8a560f9e [fix] Improve sticky domain handling in getStickiedHub function 2025-02-24 17:50:41 +02:00
Alexandr Stelnykovych
fdca991166
Merge pull request from safing/fix/1721-Error-when-clicking_Apps
[fix] UI: Error when clicking on 'Apps' in the application configuration
2025-02-12 12:41:43 +02:00
Alexandr Stelnykovych
5e7ad95a44
Merge pull request from safing/fix/packet-layer-set
[service] Fix IPv6 payload layer set
2025-02-12 12:39:15 +02:00
Vladimir Stoilov
40b443282f
[service] Fix IPv6 payload layer set 2025-02-11 13:55:29 +02:00
Alexandr Stelnykovych
d8108bff0e [fix] UI: Error when clicking on 'Apps' in the application configuration
https://github.com/safing/portmaster/issues/1721
2025-01-31 17:50:00 +02:00
Alexandr Stelnykovych
98137ca4b6
Merge pull request from safing/fix/kext-doc
[kext] Fix dev build documentation
2025-01-28 14:39:37 +02:00
Alexandr Stelnykovych
857df4086f [kext] Fix dev build documentation (releasing procedure) 2025-01-28 14:26:44 +02:00
Vladimir Stoilov
32d6e1cb04
[kext] Fix dev build documentation 2025-01-28 11:49:23 +02:00
Vladimir Stoilov
0f28af66cd
Add PID in ETW DNS event in the integration dll ()
* [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 Hååvi
726159427b
Merge pull request from safing/dhaavi-patch-1
Fix rust-base build
2025-01-16 13:55:15 +01:00
Daniel Hååvi
88b92dcc93
Fix rust-base build
Sometimes rust attempts to upgrade crates. This stops it from doing that.
2025-01-14 14:28:56 +01:00
Alexandr Stelnykovych
f021ec2444
Merge pull request from safing/develop
v1.6.29
2025-01-13 16:27:48 +02:00
Alexandr Stelnykovych
3478622eb8 update deps 2025-01-13 14:15:48 +00:00
Daniel Hååvi
b4fda1bdce
Merge pull request 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 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 from stenya/intel_small_cache
[improvement] Small cache size
2025-01-13 13:44:31 +01:00
Daniel Hååvi
3ee214abaf
Merge pull request from safing/fix/windows-permission2
Fix windows permissions
2025-01-13 13:41:28 +01:00
Daniel
96209c28cf Fix SPN build 2025-01-13 10:09:11 +01:00
Daniel
ef7b129ced Use code quotes for cmds in docs 2024-12-20 13:37:01 +01:00
Daniel
1e9e6263d4 Fix SPN testnet portmaster args 2024-12-20 13:36:15 +01:00
Daniel
c7f3475382 Add spn testing setup 2024-12-20 13:31:52 +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
475d69f8a2
[service] Fix windows system SID 2024-12-06 16:45:37 +02:00
Daniel
9d874daed2 Simplify windows acl calls and switch to using SIDs 2024-12-06 14:34:54 +01: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
Daniel Hååvi
6e173e3b96
Merge pull request from safing/fix/missing-dll-failure
Fix Missing dll failure
2024-12-02 15:23:07 +01:00