evilsocket / opensnitch

OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.
GNU General Public License v3.0
9.86k stars 486 forks source link

Add a rules 'import' and 'export' option to the APT package. #1123

Closed ElleLeonne closed 1 month ago

ElleLeonne commented 1 month ago

Summary:

I noticed something odd when using the APT version: There's no 'export' or 'import' ruleset options. This seems like such a simple addition, given you already support parsing lists, may as well add the option to import them too.

I suppose a follow up question I have is, where are these stored, so that I can manually create backups? It's troublesome to recreate the ruleset every install.

I'm unsure if the standalone version has these features but, if so, even better, the work is already done.

ElleLeonne commented 1 month ago

Okay, so I had searched the issues, and the wiki, before posting this, but ultimately found what I need here:

https://github.com/evilsocket/opensnitch/wiki/Configurations

tldr; they're stored under /etc/opensnitchd/rules/*.json