Commit Graph

81 Commits

Author SHA1 Message Date
Daniel
706ce222d0 WIP 2024-11-27 16:16:15 +01: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
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
Vladimir Stoilov
97ce3c087c [WIP] Fix uninstaller deletion bug. 2024-09-30 11:33:21 +03:00
Vladimir Stoilov
f0272766c1 [WIP] Add restart service command for windows 2024-09-27 17:07:01 +03:00
Vladimir Stoilov
61babe2822 [WIP] Add restart command to instance 2024-09-26 13:51:42 +03:00
Vladimir Stoilov
c9631daa3e [WIP] Add update notifications 2024-09-26 10:43:47 +03:00
Vladimir Stoilov
7cf20b2cf8 [WIP] Remove old code 2024-09-25 17:42:05 +03:00
Vladimir Stoilov
08830f29c6 [WIP] Fix ui api authentication 2024-09-25 17:34:23 +03:00
Vladimir Stoilov
1b6ee722f3 [WIP] Fix edge upgrade edge cases 2024-09-25 16:33:45 +03:00
Vladimir Stoilov
89b533f949 [WIP] Refactoring 2024-09-20 17:36:07 +03:00
Vladimir Stoilov
b3ff6f14f1 [WIP] Error and state handleing improvments, better logs 2024-09-19 12:38:23 +03:00
Vladimir Stoilov
072d7e6971 [WIP] Minor improvments 2024-09-19 08:45:50 +03:00
Vladimir Stoilov
1a866584a4 [WIP] Refactoring and bug fixes 2024-09-18 18:34:42 +03:00
Vladimir Stoilov
84a15b5fb3 [WIP] updater rafactoring, minor improvments 2024-09-17 12:36:44 +03:00
Vladimir Stoilov
83ec18f552 [WIP] Updater support for windows 2024-09-11 18:52:36 +03:00
Vladimir Stoilov
701505ae75 [WIP] working download and replace. 2024-09-05 10:25:57 +03:00
Vladimir Stoilov
f7abb700bf [WIP] Fix SELinux permissions 2024-09-05 10:25:57 +03:00
Vladimir Stoilov
9bae1afd73 [WIP] New updater first working prototype 2024-09-05 10:25:57 +03:00
Vladimir Stoilov
abf444630b [WIP] New updater 2024-09-05 10:25:57 +03: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
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