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

Where do Opensnitch version 1.5.2 and 1.5.8 save the rules? Not in home? #146

Open
Golddouble opened this issue Mar 19, 2024 · 2 comments
Open

Comments

@Golddouble
Copy link

Where do Opensnitch version 1.5.2 and 1.5.8 save the rules? Not in home?

I have changed the Linux version by preserving my old home.
But now it looks like all my rules are deleted.

@gustavo-iniguez-goya
Copy link
Owner

Hi @Golddouble ,

Rules have always been saved to /etc/opensnitchd/rules until v1.6.4. If you happened to save the events to a DB on disk, you could go to the Rules tab, right click on the rules and select "Apply to ..." or make any change (enable/disable) and the rules will be applied. Otherwise... :/

After v1.6.5 you can configure the rules path from the configuration.

@Golddouble
Copy link
Author

Thank you.
I have always tried the following some weeks ago:

  1. Made a backup of the folder "/etc/opensnitchd/rules" on my usb-stick
  2. Changed my Linux System/version
  3. Instaled Opensnitch 1.5.8 in my new Linux system
  4. Copied the content of the backup into the folder "/etc/opensnitchd/rules" on my new Linux system

But it has looked like, I would have to copy the whole folder "/etc/opensnitchd/". Otherwise it has not followed these old rules.

you could go to the Rules tab, right click on the rules and select "Apply to ..."

What makes this?
Can a save the rule(s) on an USB stick this way to get a backup?
Or what does "apply to unix:local" mean?
Or can I this way choose a user defined folder (in my local home) for my rules?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants