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] Automatic flush of unused rules #622

Closed
Ileca opened this issue Feb 16, 2022 · 3 comments
Closed

[Feature Request] Automatic flush of unused rules #622

Ileca opened this issue Feb 16, 2022 · 3 comments
Labels
feature a whole new feature
Milestone

Comments

@Ileca
Copy link

Ileca commented Feb 16, 2022

Allow unused rules to be removed automatically after a set number of days.
You would have to prevent all our rules to be removed just because we didn't turn on our computer for a long time, though...
Meaning something more along the line of a number of days using OpenSnitch, like you have working days when shipping a package somewhere? I don't really know but a security valve for that kind of case.
You would also allow us to lock one rule as some rules could be used only once a month but be a sure occurrence we don't want to set back every month if our configuration flushes after 20 days.

Thank you.

@Ileca Ileca added the feature a whole new feature label Feb 16, 2022
@Juckjokar
Copy link

Allow unused rules to be removed automatically after a set number of days. You would have to prevent all our rules to be removed just because we didn't turn on our computer for a long time, though... Meaning something more along the line of a number of days using OpenSnitch, like you have working days when shipping a package somewhere? I don't really know but a security valve for that kind of case. You would also allow us to lock one rule as some rules could be used only once a month but be a sure occurrence we don't want to set back every month if our configuration flushes after 20 days.

Thank you.

@NRGLine4Sec
Copy link
Contributor

Personally, I'm not a fan of the idea that rules are automatically deleted.
On the other hand, it could be interesting if rules that have no hits since an arbitrary time are "marked" so that we can easily clean up when we can take some time to review the rules.

@gustavo-iniguez-goya
Copy link
Collaborator

I understood this feature request wrong. I thought it was related to temporary rules.

Permanent rules are by definition, permanent. If you don't want a permanent rule, it should not be there anyway. So automatic flush of permanent rules is not going to happen.

It has more sense to delete temporary rules, after a set number of days, etc.

Marking (/highlighting) rules would be doable now that we can colorize rules based on patterns.

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

No branches or pull requests

4 participants