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

Provide a mechanism to flush un-managed rules #115

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Dec 28, 2021

  1. Provide a mechanism to flush un-managed rules

    This patchset adds a new parameter to the main class to activate a
    mechanism that will invoke `systemctl reload nftables` during the
    Puppet run if manual changes to the in-memory ruleset are detected.
    
    To accomplish this, the systemd unit in charge of nftables is
    configured to write a hash of the in-memory ruleset right after
    starting/reloading. During the Puppet run, the hash of the current
    rule set is compared to the one previously stored. If the hash differ
    then `systemctl reload nftables` is executed to flush manual changes.
    
    Fixes voxpupuli#113
    nbarrientos committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    78d8286 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93077e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95636ba View commit details
    Browse the repository at this point in the history
  4. Reword sentence

    nbarrientos committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    3f640a7 View commit details
    Browse the repository at this point in the history
  5. Look for literal dots

    nbarrientos committed Dec 28, 2021
    Configuration menu
    Copy the full SHA
    019bde3 View commit details
    Browse the repository at this point in the history