opensnitch/daemon
Gustavo Iñiguez Goia bb95a77c58
sys-fw: load default config path if non supplied
By default load the system fw config file from
/etc/opensnitchd/system-fw.json.

There're these options to specify the file to load:

 - via cli option with -fw-config-file
 - writing it in the default-config.json file:
   "FwOptions": { "ConfigPath": "..." }

If both options are empty, then the default one is used.

FIXME:
 When the cli option is used to load the fw configuration, and the main
preferences are saved, the fw is reloaded but the path to the fw config
is lost.
2024-01-08 00:34:28 +01:00
..
conman getparents code reorganization 2023-10-04 00:58:17 +02:00
core allow to configure ebpf modules path 2023-12-22 23:27:18 +01:00
data/rules Added sample rule to allow localhost connections 2023-07-23 22:30:49 +02:00
dns allow to configure ebpf modules path 2023-12-22 23:27:18 +01:00
firewall sys-fw: load default config path if non supplied 2024-01-08 00:34:28 +01:00
log remote loggers improvements 2023-07-23 22:27:28 +02:00
netfilter netfilter: do not unbind the queues on exit 2023-12-05 01:16:38 +01:00
netlink allow to filter connections by process checksum 2023-09-22 00:36:26 +02:00
netstat updated import paths 2020-12-09 18:18:42 +01:00
procmon updated TestProcIOStats test 2024-01-05 15:31:00 +01:00
rule allow to configure rules and config file paths 2023-12-17 00:22:07 +01:00
statistics improvements to ui, ebpf, netfilter 2022-12-23 14:39:49 +01:00
ui fixed leak dispatching alerts 2023-12-31 20:12:44 +01:00
.gitignore daemon -> opensnitchd (ref #118) 2018-04-10 18:38:04 +02:00
default-config.json allow to filter connections by process checksum 2023-09-22 00:36:26 +02:00
go.mod go.mod: updated deps, minimum required go version 2023-10-23 20:50:24 +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 sys-fw: load default config path if non supplied 2024-01-08 00:34:28 +01: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