opnsense / opnsense/plugins

os-git-backup: add a way to avoid some conf changes that don't need backup

Open
#5,500 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.2k
Forks
863
Avg merge
2d 6h
Merged PRs (30d)
10

Description

Is your feature request related to a problem? Please describe.
Hi, I installed os-git-backup and it works very well but :

I'm using os-nginx that has a honeypot feature that create a banned ip list in firewall alias rules
these changes are backed up and generate a lot of commits because it's a dynamic behavior
I'd like to avoid these hundreds commits

Describe the solution you'd like
I don't know how to prevent this behavior under the hood as an end user 😬
Perhaps some conf file that exclude some changes from being backed up

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the os-git-backup plugin and how os-nginx's honeypot updates firewall alias rules. Determine where backed-up configuration changes are selected, then define how an exclusion would be configured and verify that dynamic banned-IP changes no longer create repeated commits.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, nginx
Domain
devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.