Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Configure kernel module path #928

Closed
onny opened this issue May 3, 2023 · 0 comments
Closed

[Feature Request] Configure kernel module path #928

onny opened this issue May 3, 2023 · 0 comments
Labels
feature a whole new feature
Milestone

Comments

@onny
Copy link

onny commented May 3, 2023

Summary:

We currently plan to package the EBPF kernel module for NixOS over here. Usually the packages gets installed into the Nix store in a specific path depending on the output hash like /nix/store/..../etc/opensnitchd/opensnitch.o.

Please support a command line or configuration option to specify the kernel module path at runtime.

Thank you :)

@onny onny added the feature a whole new feature label May 3, 2023
@gustavo-iniguez-goya gustavo-iniguez-goya added this to the 1.7.0 milestone May 13, 2023
gustavo-iniguez-goya added a commit that referenced this issue Jan 8, 2024
Now it's possible to configure eBPF modules path from the
default-config.json file:
 "Ebpf": {
   "ModulesPath": "..."
 }

If the option is not provided, or if it's empty, we'll keep loading from
the default directories:

 - /usr/local/lib/opensnitchd/ebpf
 - /usr/lib/opensnitchd/ebpf
 - /etc/opensnitchd/ebpf (deprecated, will be removed in the future).

Closes #928

(cherry picked from commit ffb7668)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a whole new feature
Projects
None yet
Development

No branches or pull requests

2 participants