Apply an existing 100+ rules for a package, to another similar package? #1509
Nicolai-Nielsen
started this conversation in
Show and tell
Replies: 1 comment
-
|
hi @Nicolai-Nielsen ! Create new file names for the new rules, and change the name of the rules to match the file name.
This should be enough to apply a rule to 2 packages. You can simplify it as this: In any case, if you change the Log Level to DEBUG, you should see errors on why the rules are not loaded. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I already have a 100+ rules (manually granted connections) for a browser profile, and was wondering if I could use/appl the same rules for another package!
I tried copying the rules, modify & rename them, then adding them to
/etc/opensnitchd/rules/Modify file contents:
find . -type f -exec sed -i 's|/home/user/Packages/package1/|/home/user/Packages/package2/|g' {} +but could not get opensnitch to load, and I do not know why! Only thing that I can think of is the timestamps in the files, which I do not know how to "reset"
Anyone has any good tips?
In the meantime, I'll research replacing:
with
timestamps would still be an issue!
Beta Was this translation helpful? Give feedback.
All reactions