opensnitch/daemon
Gustavo Iñiguez Goia 9e0f3a4797
introducing daemon tasks
daemon tasks are actions that are executed in background by the daemon.

They're started from the GUI (server) via a Notification (protobuf),
with the type TASK_START (protobuf).

Once received in the daemon, the TaskManager starts the task in
background.

Tasks may run at interval times (every 5s, 2days, etc), until they
finish an operation, until a timeout, etc.

Each task has each own configuration options, which will customize the
behaviour of its operations.

In this version, if the GUI is closed, the daemon will stop all the
running tasks.
Each Task has a flag to ignore this behaviour, for example if they need
to run until they finish and only send a notification to the GUI,
instead of streaming data continuously to the GUI (server).

 - Up until now we only had one task that could be initiated from the GUI:
   the process monitor dialog. It has been migrated to a Task{}.
 - go.mod bumped to v1.20, to use unsafe string functions.
 - go.sum updated accordingly.
2024-09-25 01:00:38 +02:00
..
conman getparents code reorganization 2023-10-04 00:58:17 +02:00
core Remove duplicate regex in system.go for -check-requirements 2024-05-26 23:22:53 +00:00
data/rules Added sample rule to allow localhost connections 2023-07-23 22:30:49 +02:00
dns clean dns ebpf hooks on exit 2024-01-28 01:10:00 +01:00
firewall fw: fixed adding 'counter' obj to rules 2024-07-03 14:26:11 +02:00
log loggers, remote_syslog: check if we're connected 2024-05-15 00:06:26 +02:00
netfilter structs fields reorganized 2024-01-14 20:44:49 +01:00
netlink make connections flushing configurable 2024-05-13 00:27:41 +02:00
netstat strings concatenation improvements 2024-01-16 00:14:44 +01:00
procmon allow to customize ebpf options 2024-05-16 00:31:54 +02:00
rule fixed loading rules when Created field is a timestamp 2024-06-10 23:54:54 +02:00
statistics more work on reloading configuration 2024-05-11 18:23:20 +02:00
tasks introducing daemon tasks 2024-09-25 01:00:38 +02:00
ui introducing daemon tasks 2024-09-25 01:00:38 +02:00
.gitignore daemon -> opensnitchd (ref #118) 2018-04-10 18:38:04 +02:00
default-config.json updated default-config.json with latest added opts 2024-05-16 00:51:30 +02:00
go.mod introducing daemon tasks 2024-09-25 01:00:38 +02:00
go.sum introducing daemon tasks 2024-09-25 01:00:38 +02:00
Gopkg.toml fix: calling ftrace probe Reset in order to start from a clean state (fixes #159) 2018-04-18 02:00:12 +02:00
main.go set default rules directory if empty 2024-05-29 23:43:46 +02:00
Makefile daemon/Makefile: improvements to make distro packaging easier (#780) 2022-12-21 10:35:52 +01:00
opensnitchd-dinit Add files via upload 2023-06-17 23:56:58 +02:00
opensnitchd-openrc feat(daemon): add OpenRC script 2023-04-02 02:33:40 +02:00
opensnitchd.service Replace docs link in opensnitchd.service 2023-02-09 20:56:29 +00:00
system-fw.json added icmp destination-unreachable to system-fw.json 2023-07-26 11:40:17 +02:00