]>
review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/log
Craig Gumbley [Mon, 3 Oct 2022 10:02:21 +0000 (11:02 +0100)]
Merge pull request #1058 from david22swan/maint/main/random_fully
(GH-1055) Fix for `--random-fully`
david22swan [Wed, 28 Sep 2022 10:20:40 +0000 (11:20 +0100)]
(maint) Fix for negated physdev_is_*
Why confirming that this fix worked as intended it was shown that in fixing the original issue a second one had been uncovered.
This should fix the second one without infringing on the first fix.
david22swan [Wed, 13 Jul 2022 10:35:53 +0000 (11:35 +0100)]
(GH-1055) Fix for `--random-fully`
Issues have arisen with the --random-fully value on certain RedHat versions.
It seem's as if the logic put in around `--random` and `--random-fully` are no longer working.
This change should resolve the issue and tighten the logic around the `known_boolean` values.
Lukas Audzevicius [Tue, 16 Aug 2022 14:09:48 +0000 (15:09 +0100)]
Merge pull request #1063 from puppetlabs/pdksync_GH-cat-11/main/add_ubuntu_22.04_support
pdksync - (GH-cat-11) Certify Support for Ubuntu 22.04
david22swan [Tue, 16 Aug 2022 12:03:18 +0000 (13:03 +0100)]
Update code for ubuntu 22.04
david22swan [Thu, 4 Aug 2022 10:28:41 +0000 (11:28 +0100)]
(GH-cat-11) Certify Support for Ubuntu 22.04
david22swan [Thu, 11 Aug 2022 11:01:09 +0000 (12:01 +0100)]
Merge pull request #1061 from corporate-gadfly/main
allow persistence of firewall rules for Suse
Haroon Rafique [Mon, 8 Aug 2022 13:41:51 +0000 (09:41 -0400)]
fix syntax error with end token
Haroon Rafique [Tue, 26 Jul 2022 17:27:31 +0000 (13:27 -0400)]
allow persistence of firewall rules for Suse
david22swan [Tue, 5 Jul 2022 12:23:45 +0000 (13:23 +0100)]
Merge pull request #1057 from david22swan/maint/main/random_fully
(maint) Fix `--random-fully` test to run on RHEL 9
david22swan [Tue, 5 Jul 2022 11:54:26 +0000 (12:54 +0100)]
(maint) Fix `--random-fully` test to run on RHEL 9
Craig Gumbley [Thu, 16 Jun 2022 09:55:20 +0000 (10:55 +0100)]
Merge pull request #1054 from puppetlabs/pdksync_GH-cat-12/main/add_redhat_9_support
pdksync - (GH-cat-12) Add Support for Redhat 9
david22swan [Thu, 16 Jun 2022 09:07:06 +0000 (10:07 +0100)]
(GH-cat-12) Fixes for RedHat 9
david22swan [Tue, 31 May 2022 15:25:29 +0000 (16:25 +0100)]
(GH-cat-12) Add Support for Redhat 9
david22swan [Mon, 23 May 2022 09:52:57 +0000 (10:52 +0100)]
Merge pull request #1052 from puppetlabs/pdksync_maint/pdk_update_stalebot
pdksync - (MAINT) Stale bot config/msg update
Lukas Audzevicius [Thu, 19 May 2022 10:22:20 +0000 (11:22 +0100)]
Config update
Lukas Audzevicius [Wed, 18 May 2022 16:34:33 +0000 (17:34 +0100)]
(MAINT) Stale-bot config/msg update
Craig Gumbley [Tue, 17 May 2022 14:50:31 +0000 (14:50 +0000)]
Merge pull request #1049 from puppetlabs/release-prep
(MAINT) Release prep v3.5.0
Lukas Audzevicius [Tue, 17 May 2022 09:12:57 +0000 (10:12 +0100)]
(MAINT) Release prep v3.5.0
Lukas Audzevicius [Mon, 16 May 2022 15:54:43 +0000 (16:54 +0100)]
Merge pull request #1028 from tskirvin/rhel9
CentOS Stream 9 Support (should include RHEL9 when that releases)
Lukas Audzevicius [Mon, 16 May 2022 11:53:09 +0000 (12:53 +0100)]
Merge pull request #1013 from drivenet/feature/fix-rpfilter
Fix rpfilter parameter
Tim Skirvin [Sun, 1 May 2022 23:39:30 +0000 (18:39 -0500)]
Merge branch 'main' into rhel9
Lukas Audzevicius [Thu, 21 Apr 2022 13:05:17 +0000 (14:05 +0100)]
Merge pull request #1047 from puppetlabs/pdksync_maint/pdk_update_20-04
pdksync - (Maint) PDK Update
david22swan [Thu, 21 Apr 2022 09:14:15 +0000 (10:14 +0100)]
(maint) Rubocop exclusions added
david22swan [Thu, 21 Apr 2022 09:07:03 +0000 (10:07 +0100)]
(GH-cat-9) syntax:hiera:yaml exclusions added
david22swan [Thu, 21 Apr 2022 09:06:53 +0000 (10:06 +0100)]
(GH-cat-9) syntax:hiera:yaml fixes
david22swan [Wed, 20 Apr 2022 10:07:40 +0000 (11:07 +0100)]
(maint) PDK Update
Lukas Audzevicius [Mon, 4 Apr 2022 14:24:07 +0000 (15:24 +0100)]
Merge pull request #1044 from puppetlabs/pdksync_pdksync-use_pull_request_target
pdksync - PDKSYNC Update labeller trigger
Craig Gumbley [Mon, 4 Apr 2022 13:09:46 +0000 (14:09 +0100)]
"This commit changes the workflow trigger for pull requests to pull_request_target"
Craig Gumbley [Thu, 31 Mar 2022 15:25:18 +0000 (16:25 +0100)]
Merge pull request #1035 from david22swan/GH1031/main/test_fixes
(GH-1031) Oracle/Scientific Linux 6 Fix
david22swan [Thu, 31 Mar 2022 13:57:56 +0000 (14:57 +0100)]
(GH-1031) Oracle/Scientific Linux 6 Fix
david22swan [Wed, 30 Mar 2022 14:25:46 +0000 (15:25 +0100)]
Merge pull request #1040 from david22swan/GH-C&T-7/main/remove_compatible_code
(GH-C&T-7) Remove code specific to unsupported OSs
david22swan [Wed, 30 Mar 2022 12:01:31 +0000 (13:01 +0100)]
(GH-C&T-7) Remove code specific to unsupported OSs
Lukas Audzevicius [Tue, 29 Mar 2022 13:17:58 +0000 (14:17 +0100)]
Merge pull request #1036 from puppetlabs/pdksync_pdksync_heads/
main-0-gf3911d3
pdksync - pdksync_heads/
main-0-gf3911d3
david22swan [Tue, 29 Mar 2022 09:05:51 +0000 (10:05 +0100)]
(GH-C&T-9) Temporarily disable syntax checks
Lukas Audzevicius [Fri, 25 Mar 2022 16:13:54 +0000 (16:13 +0000)]
Merge pull request #1039 from puppetlabs/pdksync_pdksync_add_workflows
pdksync - Add labeller and stale GHA workflows
Craig Gumbley [Fri, 25 Mar 2022 15:33:44 +0000 (15:33 +0000)]
(MAINT) Fixes no new line at EOF
Craig Gumbley [Fri, 25 Mar 2022 15:12:32 +0000 (15:12 +0000)]
(MAINT) Add labeller and stale GHA workflows
Lukas Audzevicius [Thu, 24 Mar 2022 10:25:35 +0000 (10:25 +0000)]
Merge pull request #1038 from puppetlabs/pdksync_GH-iac-334/main/remove_ubuntu_16.04_support
pdksync - (GH-iac-334) Remove Support for Ubuntu 14.04/16.04
david22swan [Wed, 23 Mar 2022 16:08:30 +0000 (16:08 +0000)]
(maint) Remove support for Ubuntu 14.04
david22swan [Wed, 23 Mar 2022 12:34:18 +0000 (12:34 +0000)]
(GH-iac-334) Remove Support for Ubuntu 16.04
david22swan [Wed, 16 Mar 2022 15:31:06 +0000 (15:31 +0000)]
Craig Gumbley [Mon, 14 Mar 2022 11:14:55 +0000 (11:14 +0000)]
Merge pull request #1034 from david22swan/GH1031/main/test_fixes
(GH-1031) Fix for CentOS 8
david22swan [Thu, 10 Mar 2022 10:50:21 +0000 (10:50 +0000)]
(GH-1031) Fix for CentOS 8
Craig Gumbley [Mon, 28 Feb 2022 15:22:23 +0000 (15:22 +0000)]
Merge pull request #1032 from puppetlabs/maint/main/prerelease
Release prep v3.4.0
david22swan [Mon, 28 Feb 2022 15:20:21 +0000 (15:20 +0000)]
Release prep v3.4.0
david22swan [Mon, 28 Feb 2022 14:09:37 +0000 (14:09 +0000)]
Merge pull request #1030 from puppetlabs/SEC-944-handle_duplicate_rule_comments_v2
(SEC-944) Handle duplicate system rules
Craig Gumbley [Fri, 25 Feb 2022 20:07:07 +0000 (20:07 +0000)]
(SEC-944) Add test cases
Prior to this commit there we no test cases to validate our
changes to the module.
This commit adds test cases for each of the configurations for
onduplicaterulebehaviour.
Craig Gumbley [Tue, 22 Feb 2022 16:25:18 +0000 (16:25 +0000)]
Adding PR Commit Suggestions
Co-authored-by: Michael T Lombardi (He/Him) <michael.lombardi@puppet.com>
Craig Gumbley [Tue, 22 Feb 2022 15:21:51 +0000 (15:21 +0000)]
(SEC-994) Add section on duplicate rules
This commit adds a new section to inform users about how the module will behave when it encounters duplicate rules.
It also inclues a small bit of house keeping.
Craig Gumbley [Tue, 22 Feb 2022 12:23:35 +0000 (12:23 +0000)]
(SEC-944) Configurable duplicate behaviour
Here we add a new parameter that determines how the puppet run will
behave if a duplicate system rule is encountered. The default is to
warn and continue.
Craig Gumbley [Tue, 22 Feb 2022 12:33:01 +0000 (12:33 +0000)]
(SEC-944) Identify duplicate system rules
In certain situations it is possible for an unmanaged rule to exist on
the target system that has the same comment as the rule specified in
the manifest.
When this condition is true puppet will ignore the the unmanaged rule
and continue to apply the rule in the manifest. This is because the
firewall module uses the comment field in IPT as it's namevar and
therefore expects it to be a unique identifier. In the case of IPT this
is not true given that you can have multiple rules with the same
comment.
This commit adds a check that will identify system rules that have their
comment field set to the same value as a rule in the manifest. If we
enter a situation where any of the duplicate counts are greater than 1
then we will respond with a configurable action. The behaviour of this
can be configured via the onduplicaterulebehaviour parameter.
Tim Skirvin [Mon, 14 Feb 2022 16:23:02 +0000 (10:23 -0600)]
CentOS Stream 9 Support (should include RHEL9 when that releases)
Craig Gumbley [Tue, 8 Feb 2022 15:52:27 +0000 (15:52 +0000)]
Merge pull request #1027 from puppetlabs/pdksync_IAC-1787/main/remove_centos_6_support
pdksync - (IAC-1787) Remove Support for CentOS 6
22swan [Tue, 8 Feb 2022 15:22:12 +0000 (15:22 +0000)]
(IAC-1787) Remove Support for CentOS 6
Adrian Iurca [Wed, 15 Dec 2021 10:16:21 +0000 (12:16 +0200)]
Merge pull request #1025 from puppetlabs/release-prep
Release prep v3.3.0
GitHub Action [Wed, 15 Dec 2021 10:14:30 +0000 (10:14 +0000)]
Release prep v3.3.0
Aristarkh Zagorodnikov [Tue, 14 Dec 2021 21:56:04 +0000 (00:56 +0300)]
Fix whitespace
Aristarkh Zagorodnikov [Tue, 14 Dec 2021 21:52:40 +0000 (00:52 +0300)]
Fix whitespace
Aristarkh Zagorodnikov [Tue, 14 Dec 2021 21:45:16 +0000 (00:45 +0300)]
Make rpfilter feature conditional based on minimal requirements
Aristarkh Zagorodnikov [Mon, 6 Sep 2021 17:23:52 +0000 (20:23 +0300)]
Fix rpfilter parameter
sanfrancrisko [Tue, 14 Dec 2021 18:01:07 +0000 (18:01 +0000)]
Merge pull request #1024 from puppetlabs/depmod-not-found-on-rocky
install module-init-tools on pre_setup step
adrianiurca [Tue, 14 Dec 2021 17:34:42 +0000 (19:34 +0200)]
install module-init-tools on pre_setup step
daianamezdrea [Mon, 13 Dec 2021 19:32:09 +0000 (21:32 +0200)]
Merge pull request #981 from tskirvin/main
(MODULES-6876) lib/puppet/provider/firewall/iptables.rb - comments cleanup for parsing
Tim Skirvin [Mon, 13 Dec 2021 17:20:39 +0000 (11:20 -0600)]
Merge branch 'puppetlabs:main' into main
daianamezdrea [Fri, 22 Oct 2021 14:00:14 +0000 (17:00 +0300)]
Merge pull request #1020 from puppetlabs/pdksync_IAC-1752/main/add_almalinux_8_support
pdksync - (IAC-1753) - Add Support for AlmaLinux 8
David Swan [Fri, 22 Oct 2021 10:22:44 +0000 (11:22 +0100)]
(IAC-1771) Update acceptance test setup
David Swan [Tue, 19 Oct 2021 09:20:20 +0000 (10:20 +0100)]
(IAC-1771) Update code for AlmaLinux
Tim Skirvin [Fri, 8 Oct 2021 14:28:14 +0000 (09:28 -0500)]
CHANGELOG.md updates
David Swan [Tue, 5 Oct 2021 15:24:06 +0000 (16:24 +0100)]
(IAC-1752) - Add Support for AlmaLinux 8
Adrian Iurca [Mon, 4 Oct 2021 15:04:53 +0000 (18:04 +0300)]
Merge pull request #1018 from adamboutcher/fedora34
Fedora 34 and iptables-compat fix; properly utilising iptables param.
Adrian Iurca [Mon, 4 Oct 2021 13:55:51 +0000 (16:55 +0300)]
Merge pull request #1019 from cmd-ntrf/bug11203
Bugfix MODULES-11203: error on second apply when uid or gid is specified as a range
Adam Boutcher [Mon, 4 Oct 2021 13:40:46 +0000 (14:40 +0100)]
Package_Name param was used in a clever way, moved to iptables_name
Félix-Antoine Fortin [Fri, 1 Oct 2021 18:17:45 +0000 (14:17 -0400)]
Fix comment in uid and gid insync
Félix-Antoine Fortin [Fri, 1 Oct 2021 18:11:39 +0000 (14:11 -0400)]
Fix gid insync regex for converting to GID
Félix-Antoine Fortin [Fri, 1 Oct 2021 18:08:24 +0000 (14:08 -0400)]
Fix uid insync regex for converting to UID
Add support for uid range
Adam Boutcher [Tue, 28 Sep 2021 15:27:44 +0000 (16:27 +0100)]
Fedora 34 and iptables-compat fix, along with properly utilising iptables variable
Adrian Iurca [Tue, 28 Sep 2021 12:58:04 +0000 (15:58 +0300)]
Merge pull request #1017 from puppetlabs/pdksync_IAC-1751/main/add_rocky_8_support
pdksync - (IAC-1751) - Add Support for Rocky 8
David Swan [Tue, 28 Sep 2021 09:32:51 +0000 (10:32 +0100)]
(IAC-1751) - Add Support for Rocky 8
Adrian Iurca [Thu, 23 Sep 2021 09:04:27 +0000 (12:04 +0300)]
Merge pull request #1015 from puppetlabs/pdksync_IAC-1598/main/remove_debian_8_support
pdksync - (IAC-1598) - Remove Support for Debian 8
David Swan [Wed, 15 Sep 2021 12:43:36 +0000 (13:43 +0100)]
(IAC-1598) - Remove Support for Debian 8
carabasdaniel [Fri, 10 Sep 2021 10:49:00 +0000 (13:49 +0300)]
Merge pull request #1014 from puppetlabs/pull-back-pr-945
Add carp protocol to :proto property
adrianiurca [Fri, 10 Sep 2021 06:43:37 +0000 (09:43 +0300)]
add unit test for carp protocol
pellisesol [Fri, 2 Oct 2020 17:06:33 +0000 (12:06 -0500)]
Update firewall.rb
On Gentoo using 'vrrp' sets the proto to 112 but when puppet runs it interprets 112 as 'carp' which it then corrects to 'vrrp' which is still 112. So it redoes the rule every time puppet runs. Adding carp here allows carp to be set as a valid option which removes the loop.
Adrian Iurca [Mon, 6 Sep 2021 18:29:41 +0000 (21:29 +0300)]
Merge pull request #1006 from bastelfreak/testpr
Replace travis link in README.md with GHA
Tim Meusel [Mon, 16 Aug 2021 11:49:34 +0000 (13:49 +0200)]
Replace travis link in README.md with GHA
Adrian Iurca [Mon, 6 Sep 2021 13:12:32 +0000 (16:12 +0300)]
Merge pull request #1012 from puppetlabs/release-prep
Release prep v3.2.0
GitHub Action [Mon, 6 Sep 2021 13:10:59 +0000 (13:10 +0000)]
Release prep v3.2.0
sheenaajay [Mon, 6 Sep 2021 13:07:30 +0000 (14:07 +0100)]
Merge pull request #1011 from puppetlabs/pdksync-changelog-max-issues-500
pdksync: changelog_max_issues set to 500
adrianiurca [Mon, 6 Sep 2021 12:33:50 +0000 (15:33 +0300)]
pdksync: changelog_max_issues set to 500
Adrian Iurca [Mon, 6 Sep 2021 12:17:41 +0000 (15:17 +0300)]
Merge pull request #1010 from drivenet/feature/fix-nil-gsub-for-uid-setup
Fix "undefined method `gsub' for nil:NilClass" when changing existing rule UID from absent to any present
Aristarkh Zagorodnikov [Tue, 31 Aug 2021 09:31:01 +0000 (12:31 +0300)]
Fix "undefined method `gsub' for nil:NilClass" when changing existing rule UID from absent to present
Michael T Lombardi (He/Him) [Mon, 30 Aug 2021 16:54:41 +0000 (11:54 -0500)]
Merge pull request #1009 from smortex/stdlib-ci
(IAC-1739) Fix CI with stdlib 8.0.0
adrianiurca [Mon, 30 Aug 2021 15:52:21 +0000 (18:52 +0300)]
oracle-7 is using iptables instead of iptables-services
Romain Tartière [Thu, 26 Aug 2021 17:34:27 +0000 (07:34 -1000)]
(IAC-1741) Prefer 'installed' to 'present' for packages
stdlib 8.0.0 fixed this value for `ensure_package`, so we have to sync
with it. While here, also use `installed` for package resources.
Because 'present' is still something that works, this is not a breaking
change.
david22swan [Wed, 25 Aug 2021 10:24:35 +0000 (11:24 +0100)]
(IAC-1741) Allow stdlib v8.0.0
daianamezdrea [Mon, 9 Aug 2021 08:46:58 +0000 (11:46 +0300)]
Merge pull request #1005 from puppetlabs/pdksync_IAC-1709/main/add_debian_11_support
pdksync - (IAC-1709) - Add Support for Debian 11
adrianiurca [Sun, 8 Aug 2021 21:21:50 +0000 (00:21 +0300)]
mac_source is downcased by iptables also on debian-11
David Swan [Wed, 4 Aug 2021 14:42:25 +0000 (15:42 +0100)]
(IAC-1709) - Add Support for Debian 11
Adrian Iurca [Mon, 26 Jul 2021 08:52:30 +0000 (11:52 +0300)]
Merge pull request #1003 from puppetlabs/release-prep
Release prep v3.1.0