]>
review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/log
lionce [Tue, 16 Jul 2019 07:04:23 +0000 (10:04 +0300)]
Paula Muir [Mon, 10 Jun 2019 13:43:15 +0000 (14:43 +0100)]
Merge pull request #849 from puppetlabs/pdksync_pdksync_heads/
master-0-g7827fc2
pdksync - pdksync_heads/
master-0-g7827fc2
Erick Banks [Mon, 10 Jun 2019 12:34:14 +0000 (13:34 +0100)]
GeorgeCox [Mon, 3 Jun 2019 16:10:57 +0000 (17:10 +0100)]
(maint) Typo fixes (#844)
* Changed case of error message
Changed the case of the tables in the error message when defining a custom chain. The error message shows the tables in uppercase (as you'd see when using iptables directly), while the regex in lib/puppet/provider/firewallchain/iptables_chain.rb is expecting lowercase. It looks like lib/puppet/provider/firewallchain/iptables_chain.rb is expecting the default chains in uppercase so I have left those.
* Corrected typo, hyphen not yphen
sheenaajay [Mon, 20 May 2019 20:12:46 +0000 (21:12 +0100)]
Merge pull request #847 from eimlav/fm-8025
(FM-8025) Add RedHat 8 support
Eimhin Laverty [Thu, 16 May 2019 12:43:42 +0000 (13:43 +0100)]
(FM-8025) Add RedHat 8 support
RedHat 8 iptables uses an nftables backend. The `time` match extension
does not appear to be supported. As such, I have moved the test into
exceptions spec.
https://wiki.nftables.org/wiki-nftables/index.php/Supported_features_compared_to_xtables#time
sheenaajay [Thu, 16 May 2019 09:44:15 +0000 (10:44 +0100)]
Merge pull request #846 from puppetlabs/release
(MODULES-9098) Release mergeback v2.0.0
sheenaajay [Tue, 14 May 2019 14:04:55 +0000 (15:04 +0100)]
Merge pull request #845 from lionce/release_prep
MODULES-9097 release prep 2.0.0
lionce [Tue, 14 May 2019 13:35:35 +0000 (16:35 +0300)]
MODULES-9097 release prep 2.0.0
carabasdaniel [Fri, 3 May 2019 12:54:30 +0000 (05:54 -0700)]
Merge pull request #843 from lionce/MODULES-9017
(MODULES-9017) - update metadata to support current version of stdlib
lionce [Fri, 3 May 2019 11:45:01 +0000 (14:45 +0300)]
(MODULES-9017) - update metadata to support current version of stdlib
sheenaajay [Tue, 16 Apr 2019 10:09:40 +0000 (11:09 +0100)]
Merge pull request #842 from puppetlabs/pdksync_pdksync_f778803
pdksync - (maint) Update pdk-template to
f778803
Eimhin Laverty [Mon, 15 Apr 2019 09:34:13 +0000 (10:34 +0100)]
pdksync - (maint) Update pdk-template to
f778803
Eimhin Laverty [Fri, 12 Apr 2019 11:38:52 +0000 (12:38 +0100)]
Merge pull request #838 from david22swan/FM-7903
(FM-7903) - Implement Puppet Strings
David Swan [Mon, 8 Apr 2019 11:26:36 +0000 (12:26 +0100)]
(FM-7903) - Implement Puppet Strings
Lavinia Dan [Thu, 11 Apr 2019 12:53:45 +0000 (15:53 +0300)]
Merge pull request #841 from puppetlabs/pdksync_MODULES-8444
pdksync - (MODULES-8444) - Raise lower Puppet bound
David Swan [Wed, 10 Apr 2019 15:39:28 +0000 (16:39 +0100)]
(MODULES-8444) - Raise lower Puppet bound
Eimhin Laverty [Tue, 9 Apr 2019 11:52:42 +0000 (12:52 +0100)]
Merge pull request #824 from EmilienM/MODULES-8736
(MODULES-8736) IPtables support on RHEL8
Eimhin Laverty [Fri, 5 Apr 2019 08:42:45 +0000 (09:42 +0100)]
Merge pull request #837 from puppetlabs/release
Release mergeback 1.15.3
david22swan [Thu, 4 Apr 2019 13:22:59 +0000 (14:22 +0100)]
Merge pull request #836 from eimlav/modules-8849
(MODULES-8849) Release prep 1.15.3
Eimhin Laverty [Thu, 4 Apr 2019 12:52:42 +0000 (13:52 +0100)]
(MODULES-8849) Release prep 1.15.3
lionce [Thu, 4 Apr 2019 11:25:31 +0000 (14:25 +0300)]
Merge pull request #834 from eimlav/8855
(MODULES-8855) Move ipvs test to exception spec
Eimhin Laverty [Wed, 3 Apr 2019 16:30:27 +0000 (17:30 +0100)]
(MODULES-8855) Move ipvs test to exception spec
Lavinia Dan [Wed, 3 Apr 2019 12:54:21 +0000 (15:54 +0300)]
Merge pull request #833 from eimlav/modules-8842
(MODULES-8842) Fix ipvs not idempotent
Eimhin Laverty [Wed, 3 Apr 2019 11:21:34 +0000 (12:21 +0100)]
(MODULES-8842) Fix ipvs not idempotent
Emilien Macchi [Mon, 11 Mar 2019 15:37:37 +0000 (11:37 -0400)]
(MODULES-8736) IPtables support on RHEL8
In order to persist the nftables rules on RHEL8, we need the init scripts:
"Warning: Firewall[998 log all ipv4](provider=iptables): Unable to persist firewall rules:
Execution of '/usr/libexec/iptables/iptables.init save' returned 1:
Error: Could not execute posix command: No such file or directory - /usr/libexec/iptables/iptables.init",
Those are contained in the iptables-services package, so this patch aims
to add it into package_name for RHEL8.
Also, to make the IPtables-managed rules persistent at reboot, we need
to enable iptables (and ip6tables) service(s) like we did in previous
versions of RHEL ecosystem.
david22swan [Mon, 1 Apr 2019 08:17:51 +0000 (09:17 +0100)]
Merge pull request #832 from eimlav/maint-tests
(maint) Convert resource_cmd_spec to rspec-mock
Eimhin Laverty [Wed, 27 Mar 2019 16:59:53 +0000 (16:59 +0000)]
(maint) Convert resource_cmd_spec to rspec-mock
david22swan [Tue, 26 Mar 2019 14:48:17 +0000 (14:48 +0000)]
Merge pull request #831 from puppetlabs/release
(MODULES-8777) Release mergeback 1.15.2
lionce [Tue, 26 Mar 2019 10:26:26 +0000 (12:26 +0200)]
Merge pull request #829 from david22swan/ReleasePrep
(MODULES-8773) - 1.15.2 Release Prep
David Swan [Tue, 26 Mar 2019 09:39:09 +0000 (09:39 +0000)]
(MODULES-8773) - 1.15.2 Release Prep
david22swan [Mon, 25 Mar 2019 12:06:27 +0000 (12:06 +0000)]
Merge pull request #828 from eimlav/modules-8615
(MODULES-8615) Fix rules with ipvs not parsing
Eimhin Laverty [Mon, 25 Mar 2019 09:41:55 +0000 (09:41 +0000)]
(MODULES-8615) Fix rules with ipvs not parsing
Lavinia Dan [Fri, 22 Mar 2019 09:40:46 +0000 (11:40 +0200)]
Merge pull request #826 from eimlav/modules-6547
(MODULES-8547) Fix existing rules with --dport not parsing
Lavinia Dan [Fri, 22 Mar 2019 09:03:37 +0000 (11:03 +0200)]
Merge pull request #827 from david22swan/MODULES-7333
(MODULES-7333) - Change hashing method from MD5 to SHA256
David Swan [Thu, 21 Mar 2019 16:26:40 +0000 (16:26 +0000)]
(MODULES-7333) - Change hashing method from MD5 to SHA256
Lavinia Dan [Thu, 21 Mar 2019 10:26:43 +0000 (12:26 +0200)]
Merge pull request #795 from identw/master
External control for iptables-persistent
Eimhin Laverty [Wed, 20 Mar 2019 16:34:11 +0000 (16:34 +0000)]
(MODULES-8547) Fix existing rules with --dport not parsing
Dmitry Sergeev [Thu, 29 Nov 2018 09:29:09 +0000 (14:29 +0500)]
Fixed external control issue for iptables-persistent
Eimhin Laverty [Thu, 14 Mar 2019 13:02:36 +0000 (13:02 +0000)]
[WIP] (FM-7785) Additional test cleanup (#823)
move ipv6 tests into their own test files. one for happy path testing(checking parameters work), and one for exceptions or tests that check error output.
move missed ipv4 tests into appropriate test files.
david22swan [Thu, 7 Mar 2019 14:23:47 +0000 (14:23 +0000)]
Merge pull request #821 from puppetlabs/pdksync_modules-8728
pdksync - Remove .project from .gitignore
Eimhin Laverty [Thu, 7 Mar 2019 12:43:23 +0000 (12:43 +0000)]
(MODULES-8728) Remove .project from .gitignore
david22swan [Wed, 6 Mar 2019 08:50:31 +0000 (08:50 +0000)]
Merge pull request #820 from tphoney/FM-7785
(FM-7785) dont use default function in spec/acceptance
tphoney [Tue, 5 Mar 2019 16:50:54 +0000 (16:50 +0000)]
use prefix instead of include in acceptance tests
tphoney [Tue, 5 Mar 2019 09:24:29 +0000 (09:24 +0000)]
simplify ipv6 test logic and remove default calls
tphoney [Mon, 4 Mar 2019 17:33:30 +0000 (17:33 +0000)]
stop using the beaker default function
tphoney [Mon, 4 Mar 2019 15:41:11 +0000 (15:41 +0000)]
(FM-7785) remove sles10 checks from tests
david22swan [Fri, 22 Feb 2019 16:15:28 +0000 (16:15 +0000)]
Merge pull request #819 from tphoney/further_acceptance_cleaning
(maint) continued acceptance test cleaning
tphoney [Fri, 22 Feb 2019 11:43:10 +0000 (11:43 +0000)]
remove all fact calls, use serverspec
tphoney [Thu, 21 Feb 2019 17:18:57 +0000 (17:18 +0000)]
clean tests for log mss
tphoney [Thu, 21 Feb 2019 15:45:07 +0000 (15:45 +0000)]
(maint) continued acceptance test cleaning
Helen [Thu, 21 Feb 2019 15:22:47 +0000 (17:22 +0200)]
Merge pull request #818 from tphoney/clean_acceptance
(maint) Acceptance test cleanup
tphoney [Thu, 21 Feb 2019 12:09:53 +0000 (12:09 +0000)]
allow rhel5 difference for src_type
tphoney [Thu, 21 Feb 2019 11:39:53 +0000 (11:39 +0000)]
move error checks from acceptance to unit tests
tphoney [Wed, 20 Feb 2019 14:30:26 +0000 (14:30 +0000)]
clean tests ipsec_policy dir, comment, log_uid
tphoney [Wed, 20 Feb 2019 12:50:54 +0000 (12:50 +0000)]
clean tests: todest, toports, limit, burst, pkttype isfragment
tphoney [Wed, 20 Feb 2019 11:39:10 +0000 (11:39 +0000)]
clean dst_type src_type tcp_flags chain source tests
tphoney [Wed, 20 Feb 2019 11:03:47 +0000 (11:03 +0000)]
port dport sport destination tests cleaned
tphoney [Tue, 19 Feb 2019 18:14:53 +0000 (18:14 +0000)]
rename test files to reflect what they do
tphoney [Tue, 19 Feb 2019 17:02:29 +0000 (17:02 +0000)]
clean uid and gid testing
tphoney [Tue, 19 Feb 2019 16:25:26 +0000 (16:25 +0000)]
clean up connlimit and connmark tests
tphoney [Tue, 19 Feb 2019 15:37:42 +0000 (15:37 +0000)]
remove unused test, simplify os logic
tphoney [Tue, 19 Feb 2019 15:00:30 +0000 (15:00 +0000)]
(maint) name test file correctly, remove uneeded check
Eimhin Laverty [Tue, 19 Feb 2019 11:50:55 +0000 (11:50 +0000)]
Merge pull request #817 from tphoney/MODULES-3958
(MODULES-3958) enable rspec-mock and code coverage
tphoney [Tue, 19 Feb 2019 11:07:26 +0000 (11:07 +0000)]
(MODULES-3958) enable rspec-mock and code coverage
Helen [Mon, 18 Feb 2019 15:58:37 +0000 (15:58 +0000)]
Merge pull request #816 from david22swan/MODULES-8648
(MODULES-8648) - Fix for failures on SLES 11
David Swan [Mon, 18 Feb 2019 13:27:56 +0000 (13:27 +0000)]
(MODULES-8648) - Fix for failures on SLES 11
Failures caused by the deprecation of `state` on SLES 11 SP4.
Warning has been placed in readme and test's have been updated to use `ctstate` instead.
David Swan [Mon, 18 Feb 2019 13:27:30 +0000 (13:27 +0000)]
(bugfix) - Readding code to set correct seluser for CentOS/RHEL 5.x
Code was removed by mistake during removal of Scientific 5 support
david22swan [Tue, 5 Feb 2019 11:03:56 +0000 (11:03 +0000)]
Merge pull request #815 from mateusz-gozdek-sociomantic/comments-espace-sequences
(MODULES-8584) Handle multiple escaped quotes in comments properly
Mateusz Gozdek [Fri, 1 Feb 2019 22:48:35 +0000 (23:48 +0100)]
(MODULES-8584) Handle multiple escaped quotes in comments properly
Paula Muir [Fri, 1 Feb 2019 16:36:39 +0000 (16:36 +0000)]
Merge pull request #814 from puppetlabs/release
Release mergeback 1.15.1
Helen [Fri, 1 Feb 2019 14:16:11 +0000 (14:16 +0000)]
Merge pull request #813 from pmcmaw/update_chagelog
(maint) - Update changelog to 1.15.1
Paula Muir [Fri, 1 Feb 2019 13:49:09 +0000 (13:49 +0000)]
(maint) - Updating CHANEGLOG version
Helen [Fri, 1 Feb 2019 13:42:09 +0000 (13:42 +0000)]
Merge pull request #812 from pmcmaw/decrease_version
(maint) - Change release version to 1.15.1
Paula Muir [Fri, 1 Feb 2019 12:03:43 +0000 (12:03 +0000)]
(maint) - Change release version to 1.15.1
david22swan [Fri, 1 Feb 2019 10:27:15 +0000 (10:27 +0000)]
Merge pull request #811 from pmcmaw/MODULES-8567
(MODULES-8567) - Release Prep 1.16.0
Paula Muir [Fri, 1 Feb 2019 09:46:59 +0000 (09:46 +0000)]
(MODULES-8567) - Release Prep 1.16.0
Eimhin Laverty [Thu, 31 Jan 2019 10:16:07 +0000 (10:16 +0000)]
Merge pull request #810 from puppetlabs/pdksync_pdksync_1
.9.0-0-g7281db5
pdksync - pdksync_1
.9.0-0-g7281db5
lionce [Thu, 31 Jan 2019 09:21:50 +0000 (11:21 +0200)]
Paula Muir [Wed, 30 Jan 2019 16:02:36 +0000 (16:02 +0000)]
Merge pull request #809 from puppetlabs/clairecadman-patch-2
(DOC-3056) Remove mention of rules ordering
clairecadman [Wed, 30 Jan 2019 14:40:43 +0000 (14:40 +0000)]
(DOC-3056) Remove mention of rules ordering
Remove any reference that suggests the ordering number used for rules isn't restricted to the section the rule is in. This is misleading and can lead to mis-configured firewall rules.
See https://tickets.puppetlabs.com/browse/DOC-3056 for more information.
lionce [Tue, 29 Jan 2019 13:24:14 +0000 (15:24 +0200)]
Merge pull request #808 from david22swan/FM-7712
(FM-7712) - Remove Gentoo 1.0 testing/support for Firewall module
David Swan [Mon, 28 Jan 2019 15:20:53 +0000 (15:20 +0000)]
(FM-7712) - Remove Gentoo 1.0 testing/support for Firewall module
Eimhin Laverty [Wed, 23 Jan 2019 15:39:53 +0000 (15:39 +0000)]
Merge pull request #804 from alexharv074/alexharvey/further_changes_for_MODULES-2119
(MODULES-8360) Fix IPv6 bug relating to Bugzilla 1015
Alex Harvey [Sat, 12 Jan 2019 14:12:41 +0000 (01:12 +1100)]
(MODULES-8360) Fix relating to Bugzilla 1015
A fix for Bugzilla #1015 was added in
680738164865a01f554d1e1037c8d8724e39a720 . However, it appears that the
bug description at https://bugzilla.netfilter.org/show_bug.cgi?id=1015
is not quite accurate, and the -p all hack is required sometimes, but
not always. I don't know exactly when it is or isn't required.
This patch changes the logic to try both.
Alex Harvey [Wed, 23 Jan 2019 11:05:50 +0000 (22:05 +1100)]
Merge branch 'master' of https://github.com/puppetlabs/puppetlabs-firewall
david22swan [Fri, 18 Jan 2019 14:18:05 +0000 (14:18 +0000)]
Merge pull request #807 from puppetlabs/release
(MODULES-8498) - Release 1.15.0
Paula Muir [Fri, 18 Jan 2019 11:04:50 +0000 (11:04 +0000)]
Merge pull request #806 from david22swan/ReleasePrep
(MODULES-8498) - 1.15.0 Release Prep
David Swan [Fri, 18 Jan 2019 09:27:01 +0000 (09:27 +0000)]
(MODULES-8498) - 1.15.0 Release Preperation
Helen [Mon, 14 Jan 2019 15:29:55 +0000 (15:29 +0000)]
Merge pull request #803 from puppetlabs/pdksync_pdksync_heads/
master-0-g6814a87
pdksync - pdksync_heads/
master-0-g6814a87
Alex Harvey [Sat, 12 Jan 2019 08:03:50 +0000 (19:03 +1100)]
(MODULES-2119) further tweaking to that logic
A fix for Bugzilla #1015 was added in
680738164865a01f554d1e1037c8d8724e39a720 . However, it appears that the
bug description at https://bugzilla.netfilter.org/show_bug.cgi?id=1015
is not quite accurate, and the -p all hack is required sometimes, but
not always. I don't know exactly when it is or isn't required.
This patch changes the logic to try both.
David Swan [Thu, 10 Jan 2019 15:27:28 +0000 (15:27 +0000)]
davidmalloncares [Thu, 3 Jan 2019 16:02:57 +0000 (16:02 +0000)]
Merge pull request #802 from puppetlabs/pdksync_pdksync_heads/
master-0-g9c815ea
pdksync - pdksync_heads/
master-0-g9c815ea
David Swan [Thu, 3 Jan 2019 14:33:11 +0000 (14:33 +0000)]
Eimhin Laverty [Thu, 20 Dec 2018 10:50:37 +0000 (10:50 +0000)]
Merge pull request #801 from puppetlabs/pdksync_FM-7655
pdksync - (FM-7655) Fix rubygems-update for ruby < 2.3
tphoney [Thu, 20 Dec 2018 10:09:31 +0000 (10:09 +0000)]
(FM-7655) Fix rubygems-update for ruby < 2.3
Paula Muir [Mon, 17 Dec 2018 15:13:00 +0000 (15:13 +0000)]
Merge pull request #799 from puppetlabs/pdksync_pdksync_heads/
master-0-gbf720df
pdksync - pdksync_heads/
master-0-gbf720df
Eimhin Laverty [Mon, 17 Dec 2018 11:30:24 +0000 (11:30 +0000)]
TP Honey [Fri, 14 Dec 2018 14:39:17 +0000 (14:39 +0000)]
Merge pull request #798 from eimlav/modules-8143
(MODULES-8143) - Add SLES 15 support
Eimhin Laverty [Thu, 13 Dec 2018 11:06:33 +0000 (11:06 +0000)]
(MODULES-8143) - Add SLES 15 support