Closed andrewfader closed 2 years ago
Hi @andrewfader ,
It seems that the daemon is not running, check out the logs: journalctl -ar -u opensnitch
Also launch it manually as root: # opensnitchd -rules-path /etc/opensnitchd/rules/
if it exits right away, it should output error logs, and check out the log /var/log/opensnitchd.log
, it should also contain some errors.
[2022-09-13 23:17:20] IMP Got signal: terminated
[2022-09-13 23:17:30] ERR [REVIEW] closing due to timeout
[2022-09-13 23:18:06] IMP Start writing logs to /var/log/opensnitchd.log
[2022-09-13 23:18:06] WAR eBPF debugfs error: exit status 32
[2022-09-13 23:18:06] ERR ebpf.Start -> mount debugfs error. Report on github
> opensnitchd -rules-path /etc/opensnitchd/rules/
[2022-09-14 00:13:03] IMP Starting opensnitch-daemon v1.6.0rc2
[2022-09-14 00:13:03] INF Loading rules from /etc/opensnitchd/rules ...
[2022-09-14 00:13:03] IMP Start writing logs to /var/log/opensnitchd.log
[2022-09-14 00:13:03] WAR eBPF debugfs error: exit status 32
[2022-09-14 00:13:03] ERR ebpf.Start -> mount debugfs error. Report on github please: exit status 32
> sudo opensnitchd -rules-path /etc/opensnitchd/rules/
[2022-09-14 00:17:20] IMP Starting opensnitch-daemon v1.6.0rc2
[2022-09-14 00:17:20] INF Loading rules from /etc/opensnitchd/rules ...
Just hangs after this
thank you!
is the dir /sys/kernel/debug/tracing/
mounted? -> $ ls -l /sys/kernel/debug/tracing/
or $ grep debugfs /proc/mounts
Check also if your kernel has support for debugfs: $ zgrep CONFIG_DEBUG_FS /proc/config.gz
or $ grep CONFIG_DEBUG_FS /boot/config-$(uname -r)
~I'll try to reproduce that behaviour~ reproduced. I'll try to fix it.
This error should be fixed with latest commit, update the opensnitch-git package please and try again (Making package: opensnitch-git 1.6.0rc2.r10.25bd825-1 (Wed Sep 14 14:45:18 2022)
)
Anyways, I think your kernel doesn't have support for debugfs (verify it wth the above commands), so the monitor method will be proc
instead of ebpf
.
Thank you!
Describe the bug Even though I have plenty of rules, which were added using the UI, and it used to work, somehow, the opensnitch-ui now shows nothing.