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

Make filtering on dest addr optional #16

Merged
merged 1 commit into from
Aug 2, 2021

Commits on Aug 2, 2021

  1. Make filtering on dest addr optional

    Previously `$destination_addresses` was an array with the public
    ipv6/ipv4 addresses. Those were used as destination address in the
    firewall rules. People might have dynamic local ips so this won't
    work/creates a lot of noise due to constant firewall rule updates. As a
    fix, it was already possible to set `$destination_addresses` to an empty
    Array (`[]`). But passing this to the `daddr` parameter in ferm::rule
    created a broken firewall rule. This patch sets the `daddr` parameter to
    `undef` if `$destination_addresses` is an empty array.
    bastelfreak committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    61c7377 View commit details
    Browse the repository at this point in the history