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] import rules from exported rules.csv file #324

Closed
freddii opened this issue Jan 4, 2021 · 5 comments
Closed

[Feature Request] import rules from exported rules.csv file #324

freddii opened this issue Jan 4, 2021 · 5 comments
Milestone

Comments

@freddii
Copy link
Contributor

freddii commented Jan 4, 2021

It might be handy to be able to import all rules from an exported rules.csv file.

@gustavo-iniguez-goya
Copy link
Collaborator

gustavo-iniguez-goya commented Jan 5, 2021

csv wouldn't be a proper format, because we'd need a delimiter to separate the fields, and it would be difficult to find one that is not used on the rules.

Why do you need this feature? just to understand the necessity.

@freddii
Copy link
Contributor Author

freddii commented Jan 5, 2021

To be able to take my configs to another linux system on dual boot. Or is there another easy solution to copy the settings over?

@gustavo-iniguez-goya
Copy link
Collaborator

The easiest way would be to zip /etc/opensnitchd/ and unzip it on the other system.

The configs and rules are reloaded if they're modified on disk, so once the target file is overwritten, the daemon will reload it.

@freddii
Copy link
Contributor Author

freddii commented Jan 5, 2021

Thanks. will try that :)

@gustavo-iniguez-goya
Copy link
Collaborator

I'll document it on the wiki, so others know it, just in case they need it.

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