Commit graph

30 commits

Author SHA1 Message Date
Vladimir Stoilov
40b443282f
[service] Fix IPv6 payload layer set 2025-02-11 13:55:29 +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
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
614d8972a2 Improve logging 2024-11-27 16:37:59 +01:00
Vladimir Stoilov
1a1bc14804
Feature/systemd query events ()
* [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
Daniel
f4b96e1ce7 Make saving IP and CNAMEs more defensive 2024-11-12 15:13:44 +01:00
Daniel Hååvi
80664d1a27
Restructure modules ()
* 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
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 Hååvi
21addd47b3
Merge pull request 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
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
Daniel
21c4fa456b Do not re-evaluate ended connections 2024-04-18 13:51:20 +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
5550c46c5c Fix not applying permanent verdicts to ICMP 2024-04-16 17:12:54 +02:00
Daniel Hååvi
1ec421603f
Merge pull request 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