Commit graph

43 commits

Author SHA1 Message Date
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
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
4d5bbe42bd [service] Deactivate android interface code for now 2024-08-21 15:00:52 +02:00
Daniel Hååvi
80664d1a27
Restructure modules (#1572)
* Move portbase into monorepo

* Add new simple module mgr

* [WIP] Switch to new simple module mgr

* Add StateMgr and more worker variants

* [WIP] Switch more modules

* [WIP] Switch more modules

* [WIP] swtich more modules

* [WIP] switch all SPN modules

* [WIP] switch all service modules

* [WIP] Convert all workers to the new module system

* [WIP] add new task system to module manager

* [WIP] Add second take for scheduling workers

* [WIP] Add FIXME for bugs in new scheduler

* [WIP] Add minor improvements to scheduler

* [WIP] Add new worker scheduler

* [WIP] Fix more bug related to new module system

* [WIP] Fix start handing of the new module system

* [WIP] Improve startup process

* [WIP] Fix minor issues

* [WIP] Fix missing subsystem in settings

* [WIP] Initialize managers in constructor

* [WIP] Move module event initialization to constrictors

* [WIP] Fix setting for enabling and disabling the SPN module

* [WIP] Move API registeration into module construction

* [WIP] Update states mgr for all modules

* [WIP] Add CmdLine operation support

* Add state helper methods to module group and instance

* Add notification and module status handling to status package

* Fix starting issues

* Remove pilot widget and update security lock to new status data

* Remove debug logs

* Improve http server shutdown

* Add workaround for cleanly shutting down firewall+netquery

* Improve logging

* Add syncing states with notifications for new module system

* Improve starting, stopping, shutdown; resolve FIXMEs/TODOs

* [WIP] Fix most unit tests

* Review new module system and fix minor issues

* Push shutdown and restart events again via API

* Set sleep mode via interface

* Update example/template module

* [WIP] Fix spn/cabin unit test

* Remove deprecated UI elements

* Make log output more similar for the logging transition phase

* Switch spn hub and observer cmds to new module system

* Fix log sources

* Make worker mgr less error prone

* Fix tests and minor issues

* Fix observation hub

* Improve shutdown and restart handling

* Split up big connection.go source file

* Move varint and dsd packages to structures repo

* Improve expansion test

* Fix linter warnings

* Fix interception module on windows

* Fix linter errors

---------

Co-authored-by: Vladimir Stoilov <vladimir@safing.io>
2024-08-09 18:15:48 +03:00
Daniel Hååvi
5ec32d102e
Merge pull request #1623 from safing/feature/link-local-resolvesr
Add option to ignore DNS server if out-of-network
2024-07-19 16:12:27 +02:00
Vladimir Stoilov
c868598deb
[cmds] Move new UI to a zip for windows 2024-07-16 11:26:20 +03:00
Vladimir Stoilov
0b72e99edd [cmds] Allow running of tauri in beta 2024-07-08 09:22:11 +03:00
Daniel
42e725921b Add option to DNS server to ignore them when they are not available via an interface network 2024-07-03 17:17:51 +02:00
Vladimir Stoilov
2e3304809f [windows_kext] Fix minor problems 2024-07-01 15:06:54 +03:00
Vladimir Stoilov
b1d168e06d [service] Improve kext verdict translation 2024-06-28 13:29:35 +03:00
Vladimir Stoilov
4bf1736a83 [service] Add check for kext command size 2024-06-28 13:20:18 +03:00
Vladimir Stoilov
176494550e [service] Fix kext verdict of update command 2024-06-27 16:39:31 +03:00
Daniel
7e4e4c47a8 [service] Always put ICMP in the Other Connections group instead of Network Noise 2024-05-28 16:32:55 +02:00
Daniel
274f81e4eb Update go deps 2024-05-28 15:57:38 +02:00
Daniel
dc1b9f98f2 Add support for showing anycast addresses in the UI 2024-05-28 15:56:48 +02:00
Daniel Hååvi
1381556e93
Merge pull request #1521 from testwill/close_file
fix: close file
2024-05-28 14:47:32 +02:00
Daniel Hååvi
21addd47b3
Merge pull request #1513 from safing/feature/new-kext
Support for new windows kext
2024-05-28 14:45:23 +02:00
Vladimir Stoilov
1d6228ea7b
[windows_kext] fix all linter error 2024-05-16 16:21:27 +03:00
Vladimir Stoilov
6f9b0a8249
[service] Minor windows kext improvments 2024-05-15 18:04:49 +03:00
Daniel
5371350b3d Add new ICMP filter handler, fix cleaning of ICMP connections 2024-05-13 15:37:10 +02:00
Daniel
b07e09c94f Add helpful comment about lookup tries 2024-05-08 14:19:10 +02:00
Daniel
a3526604e0 Fix process based API authentication when API listens on 0.0.0.0 2024-05-08 14:18:52 +02:00
Vladimir Stoilov
85bac1ca71
Merge branch 'develop' into feature/new-kext 2024-04-29 17:08:04 +03:00
Vladimir Stoilov
b0f664047b
Add rust kext to the mono repo 2024-04-29 17:04:08 +03:00
guoguangwu
43043bc5e6 fix: close file
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
2024-04-26 18:08:15 +08:00
Daniel
21c4fa456b Do not re-evaluate ended connections 2024-04-18 13:51:20 +02:00
Daniel
cdabffafcd Fix error naming 2024-04-18 10:21:25 +02:00
Vladimir Stoilov
cd135331ad
Move kext files to proper path 2024-04-18 10:39:20 +03:00
Vladimir Stoilov
24f6678ad0
Merge branch 'develop' into feature/new-kext 2024-04-18 10:14:49 +03:00
Daniel
a457ac4245 Ignore default windows icons 2024-04-17 16:56:16 +02:00
Daniel Hååvi
f0bed8f794
Merge pull request #1506 from stenya/develop
Fix ineffective break statement.
2024-04-17 12:22:58 +02:00
Daniel
5550c46c5c Fix not applying permanent verdicts to ICMP 2024-04-16 17:12:54 +02:00
Daniel
154b0454fc Use new version number metadata endpoint 2024-04-16 17:12:32 +02:00
Alexandr Stelnykovych
6251111cdf [fix] (Windows;performance) Ineffective break statement. Did you mean to break out of the outer loop? 2024-04-12 16:38:49 +03:00
Daniel Hååvi
1ec421603f
Merge pull request #1500 from stenya/develop
fix: Inacessible code due to wrong comparison operation
2024-04-10 15:59:05 +02:00
Daniel
0cff5a33f2 Never allow permanent verdicts for ICMP connections 2024-04-10 14:10:34 +02:00
Alexandr Stelnykovych
76c8425452 fix: Inacessible code due to wrong comparison operation 2024-04-10 14:35:11 +03:00
Patrick Pacher
61176af14e Fix linting errors 2024-03-27 16:17:58 +01:00
Patrick Pacher
8e6a99ba14 Fix logging in firewall api for allowed-clients 2024-03-27 13:56:16 +01:00
Patrick Pacher
90535c5c86 Add support for --allowed-clients parameter to whitelist binaries that are allowed to talk to the Portmaster API 2024-03-27 12:55:31 +01:00
Patrick Pacher
8579430db9
wip: migrate to mono-repo. SPN has already been moved to spn/ 2024-03-20 09:45:32 +01:00