evilsocket / opensnitch

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

[Feature Request] default rule naming and columns #1121

Open atomGit opened 5 months ago

atomGit commented 5 months ago

i'd like to propose that the default rule name format be reconsidered

using audacious as an example, a default rule name might look like: allow-always-list-usr-bin-audacious-123-123-123-123-9999-1000

i think both the action and duration can be eliminated from the rule name given that there's already columns in the UI for these items

i would also propose that the UID (and the port potentially) be removed and columns added in the UI to hold these items

lastly, i'd prefer to discard the hyphens in addresses and use the actual address - so now the above rule becomes much shorter and more readable...

name | direction | address
audacious > *
-or-
audacious > 123.123.123.123
-or-
audacious > 123.123.123.123:9999

perhaps hovering or selecting a rule would display a pop-up that would reveal more detail, like the full command, or perhaps another column(s) could be added in the UI

i wonder if auto-grouping could also be done here - for example, if a rule for firefox is created ([100] firefox > example.com) and then another rule is created, maybe opensnitch could see that a previous rule for that command exists and give it the same group id ([100] firefox > example.com:22)

related: [Feature Request] Rule Groups · Issue #1078 · evilsocket/opensnitch