]>
review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/log
Travis Fields [Mon, 14 Jul 2014 22:50:24 +0000 (15:50 -0700)]
Merge pull request #389 from hunner/fix_metadata
Update metadata to match checksum
Hunter Haugen [Mon, 14 Jul 2014 22:49:07 +0000 (15:49 -0700)]
Update metadata to match checksum
Ashley Penney [Tue, 8 Jul 2014 21:54:52 +0000 (17:54 -0400)]
Merge pull request #386 from hunner/release_1.1.3
Release 1.1.3
Hunter Haugen [Tue, 8 Jul 2014 21:52:52 +0000 (14:52 -0700)]
Release 1.1.3
Summary
This is a supported release with test coverage enhancements.
Bugfixes
- Confine to supported kernels
Morgan Haskel [Fri, 13 Jun 2014 23:45:52 +0000 (19:45 -0400)]
Merge pull request #379 from hunner/failure
Add testing for unsupported platforms
Hunter Haugen [Fri, 13 Jun 2014 23:29:37 +0000 (16:29 -0700)]
Add testing for unsupported platforms
Hunter Haugen [Tue, 10 Jun 2014 16:10:49 +0000 (09:10 -0700)]
Merge pull request #377 from mhaskel/beaker-rspec-pinning
Beaker rspec pinning
Morgan Haskel [Tue, 10 Jun 2014 15:32:00 +0000 (11:32 -0400)]
Require beaker-rspec >= 2.2
Travis Fields [Mon, 9 Jun 2014 15:54:11 +0000 (08:54 -0700)]
Merge pull request #376 from apenney/pin-rspec
Pin rspec
Ashley Penney [Mon, 9 Jun 2014 15:31:16 +0000 (11:31 -0400)]
Pin rspec to 2.x.
Hunter Haugen [Wed, 4 Jun 2014 18:02:17 +0000 (11:02 -0700)]
Merge pull request #369 from apenney/120-prepare-release
120 prepare release
Ashley Penney [Wed, 4 Jun 2014 17:52:25 +0000 (13:52 -0400)]
Update versions.
Ashley Penney [Wed, 4 Jun 2014 17:45:19 +0000 (13:45 -0400)]
Update to support PE3.2 and PE3.3.
Ashley Penney [Wed, 4 Jun 2014 17:43:15 +0000 (13:43 -0400)]
Update the CHANGELOG.
Hunter Haugen [Tue, 3 Jun 2014 19:06:02 +0000 (12:06 -0700)]
Merge pull request #368 from mhaskel/fix-test-issues
Fix test issues
Morgan Haskel [Tue, 3 Jun 2014 19:04:52 +0000 (15:04 -0400)]
Don't check stderr
Hunter Haugen [Thu, 29 May 2014 19:46:33 +0000 (12:46 -0700)]
Merge pull request #364 from mhaskel/unsupported_checks
Unsupported checks
Morgan Haskel [Thu, 29 May 2014 19:42:48 +0000 (15:42 -0400)]
Fixes for UNSUPPORTED_PLATFORMS and tests.
Tests didn't have checks to only run on supported platforms. There
was no test for unsupported platforms. Added UNSUPPORTED_PLATFORMS
to spec_helper_acceptance.
Ashley Penney [Wed, 21 May 2014 23:35:59 +0000 (16:35 -0700)]
Merge pull request #361 from mhaskel/1.2.0-prep
1.2.0 prep
Morgan Haskel [Wed, 21 May 2014 23:33:49 +0000 (19:33 -0400)]
Update PE version requirement.
Ashley Penney [Thu, 15 May 2014 19:57:07 +0000 (15:57 -0400)]
Merge branch 'master' into 1.2.x
Ashley Penney [Thu, 15 May 2014 19:56:12 +0000 (15:56 -0400)]
Merge pull request #359 from hunner/revert_autorequire
Revert "Merge pull request #342 from mcanevet/feature/autorequire"
Hunter Haugen [Thu, 15 May 2014 19:22:48 +0000 (15:22 -0400)]
Revert "Merge pull request #342 from mcanevet/feature/autorequire"
This reverts commit
e5cbfbed5b411484ad04a5413090ad1d475be9fb , reversing
changes made to
eb2e51f338516f3b47087543bb7a1ae1394ac4fb .
Conflicts:
README.markdown
Ashley Penney [Thu, 15 May 2014 18:59:11 +0000 (14:59 -0400)]
Claim PE3.3 support.
Ashley Penney [Thu, 15 May 2014 17:56:20 +0000 (13:56 -0400)]
Merge pull request #343 from skurylo/update_docs
Update CONTRIBUTING and README
Ashley Penney [Thu, 15 May 2014 17:48:54 +0000 (13:48 -0400)]
Merge pull request #358 from sylvainkalache/master
Update README.markdown
Ashley Penney [Wed, 14 May 2014 20:31:13 +0000 (16:31 -0400)]
Add RHEL7 and Ubuntu 14.04.
Ashley Penney [Wed, 14 May 2014 20:30:31 +0000 (16:30 -0400)]
Prepare 1.2.0 release.
Sylvain Kalache [Tue, 13 May 2014 23:16:47 +0000 (16:16 -0700)]
Update README.markdown
Ashley Penney [Tue, 13 May 2014 17:00:43 +0000 (13:00 -0400)]
Merge pull request #357 from apenney/110-release
Prepare 1.1.0 release.
Ashley Penney [Tue, 13 May 2014 16:27:15 +0000 (12:27 -0400)]
Prepare 1.1.0 release.
Hunter Haugen [Wed, 7 May 2014 16:24:05 +0000 (09:24 -0700)]
Merge pull request #342 from mcanevet/feature/autorequire
Apply firewall resources alphabetically
Hunter Haugen [Tue, 6 May 2014 22:55:03 +0000 (15:55 -0700)]
Merge pull request #354 from hunner/fix_helper
Fix access to distmoduledir
Hunter Haugen [Tue, 6 May 2014 22:54:29 +0000 (15:54 -0700)]
Fix access to distmoduledir
Hunter Haugen [Tue, 6 May 2014 18:22:24 +0000 (11:22 -0700)]
Merge pull request #353 from apenney/fix-14.04-tests
Fix 14.04 tests
Ashley Penney [Mon, 5 May 2014 19:31:46 +0000 (21:31 +0200)]
Fix the tests to account for the changes in Ubuntu 14.04.
Ashley Penney [Mon, 5 May 2014 19:31:15 +0000 (21:31 +0200)]
Add `mask` as a parameter.
This is only used for the recent module and seems to be relatively
new as it doesn't seem to exist prior to 14.04.
Hunter Haugen [Tue, 29 Apr 2014 17:01:33 +0000 (10:01 -0700)]
Merge pull request #350 from xbezdick/master
Fix support for Fedora Rawhide
Lukas Bezdicka [Mon, 28 Apr 2014 10:31:56 +0000 (12:31 +0200)]
Fix support for Fedora Rawhide
On Fedora facter $::operatingsystemrelease can be integer version of Fedora or string Rawhide.
Mickaël Canévet [Thu, 24 Apr 2014 08:13:25 +0000 (10:13 +0200)]
Update README
Ashley Penney [Tue, 22 Apr 2014 21:50:09 +0000 (17:50 -0400)]
Merge pull request #344 from csschwe/add_connection_limit
(MODULES-689) Add support for connlimit and connmark
Chuck Schweizer [Thu, 17 Apr 2014 03:49:47 +0000 (22:49 -0500)]
(MODULES-689) connlimit and connmark acceptance tests
Chuck Schweizer [Thu, 17 Apr 2014 00:33:30 +0000 (19:33 -0500)]
(MODULES-689) Add support for connlimit and connmark
Steven Kurylo [Wed, 16 Apr 2014 18:23:10 +0000 (11:23 -0700)]
(doc) Update link to JIRA
Issue tracking has been moved from github to JIRA.
Steven Kurylo [Wed, 16 Apr 2014 18:11:58 +0000 (11:11 -0700)]
(doc) Update links for modules
For modules, the JIRA project is MODULES not PUP.
Link to the module contributing guide, instead of core puppet
Steven Kurylo [Wed, 16 Apr 2014 18:06:36 +0000 (11:06 -0700)]
(doc) Sync latest CONTRIBUTING.md
This is the latest CONTRIBUTING.md from
https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md
The old version has out of date links.
Mickaël Canévet [Mon, 14 Apr 2014 13:58:31 +0000 (15:58 +0200)]
Apply firewall resources alphabetically
Ashley Penney [Tue, 15 Apr 2014 13:52:07 +0000 (09:52 -0400)]
Merge pull request #341 from jeckersb/rhel7-spec-fix
Fix failing persist_iptables test on RHEL7 and Fedora
John Eckersberg [Fri, 4 Apr 2014 15:58:50 +0000 (11:58 -0400)]
spec: Use appropriate operatingsystemrelease for RedHat/CentOS/Fedora
John Eckersberg [Fri, 4 Apr 2014 15:14:27 +0000 (11:14 -0400)]
Fix failing persist_iptables test on RHEL7 and Fedora
Ashley Penney [Thu, 3 Apr 2014 17:29:17 +0000 (13:29 -0400)]
Merge pull request #338 from larsks/master
Treat RHEL 7 and later like Fedora w/r/t iptables
Ashley Penney [Thu, 3 Apr 2014 17:27:08 +0000 (13:27 -0400)]
Merge pull request #339 from cure/master
Fix typo in SNAT error message
Ashley Penney [Thu, 3 Apr 2014 17:26:48 +0000 (13:26 -0400)]
Merge pull request #340 from simon-martin/master
--reap flag is not added to iptables command
Simon Martin [Thu, 3 Apr 2014 09:33:09 +0000 (10:33 +0100)]
In lib/puppet/provider/firewall/iptables.rb we test on boolean flags when building iptables args:
# If socket is true then do not add the value as -m socket is standalone
if known_booleans.include?(res) then
if resource[res] == :true then
resource_value = nil
else
# If the property is not :true then we don't want to add the value
# to the args list
next
end
end
This evaluates to false on the reap flag in a definition like this:
firewall { '001 rate limit ssh attempts':
port => [22],
proto => tcp,
tcp_flags => "FIN,SYN,RST,ACK SYN",
recent => 'rcheck',
rsource => true,
rname => 'ssh-syn4',
rseconds => 30,
rhitcount => 3,
reap => true,
jump => drop,
}
This is because the value is not defined as a string, so the reap flag is not added to the args. This patch defines reap as a string true or false to match others like rsource.
Ward Vandewege [Mon, 31 Mar 2014 02:17:11 +0000 (22:17 -0400)]
Update firewall.rb
SNAT: typo in error message when tosource parameter is missing.
Lars Kellogg-Stedman [Wed, 26 Mar 2014 13:15:11 +0000 (09:15 -0400)]
fix errors noted by travis-ci
I like explicitly quoted strings, but apparently Travis doesn't.
Lars Kellogg-Stedman [Tue, 25 Mar 2014 21:58:16 +0000 (17:58 -0400)]
correct spelling of "&&" to "and"
Lars Kellogg-Stedman [Tue, 25 Mar 2014 19:50:10 +0000 (15:50 -0400)]
Treat RHEL 7 and later like Fedora w/r/t iptables
RHEL 7 replaces legacy init with systemd, and must be treated like
Fedora w/r/t iptables persistence. This patches checks
operatingsystemrelease in addition to operatingsystem in order
to differentiate between RHEL 7 and earlier releases.
Both RHEL 7 and recent Fedora releases require the iptables-services
package to support the commands in lib/puppet/util/firewall.rb.
This also corrects the path to /usr/libexec/iptables/iptables.init.
Hunter Haugen [Tue, 4 Mar 2014 21:57:39 +0000 (13:57 -0800)]
Merge branch '1.0.x'
Hunter Haugen [Tue, 4 Mar 2014 16:38:35 +0000 (08:38 -0800)]
Merge remote-tracking branch 'apenney/102-release' into 1.0.x
Ashley Penney [Tue, 4 Mar 2014 16:36:25 +0000 (16:36 +0000)]
Include a metadata bump to 1.0.2 here.
Hunter Haugen [Tue, 4 Mar 2014 16:35:01 +0000 (08:35 -0800)]
Merge pull request #332 from apenney/102-release
Prepare a 1.0.2 supported release.
Ashley Penney [Tue, 4 Mar 2014 16:32:12 +0000 (16:32 +0000)]
Prepare a 1.0.2 supported release.
Hunter Haugen [Tue, 4 Mar 2014 16:27:40 +0000 (08:27 -0800)]
Merge pull request #331 from apenney/symlink-fix
Replace the symlink with the actual file to resolve a PMT issue.
Ashley Penney [Tue, 4 Mar 2014 16:23:25 +0000 (16:23 +0000)]
Replace the symlink with the actual file to resolve a PMT issue.
Hunter Haugen [Mon, 3 Mar 2014 21:59:30 +0000 (13:59 -0800)]
Merge pull request #330 from apenney/last-minute-metadata-fix
Add missing files back to work around a Puppet bug.
Ashley Penney [Mon, 3 Mar 2014 21:48:54 +0000 (21:48 +0000)]
Add missing files back to work around a Puppet bug.
Hunter Haugen [Mon, 3 Mar 2014 20:02:02 +0000 (12:02 -0800)]
Merge pull request #329 from apenney/supported-101
Prepare supported module 1.0.1 release.
Ashley Penney [Mon, 3 Mar 2014 19:34:22 +0000 (19:34 +0000)]
Prepare supported module 1.0.1 release.
Hunter Haugen [Mon, 3 Mar 2014 18:38:54 +0000 (10:38 -0800)]
Merge pull request #328 from apenney/supported-metadata
Prepare for supported modules.
Hunter Haugen [Mon, 3 Mar 2014 18:16:33 +0000 (10:16 -0800)]
Merge pull request #326 from hunner/oel_limit
Change OEL limitation description
Ashley Penney [Mon, 3 Mar 2014 17:03:33 +0000 (12:03 -0500)]
Prepare for supported modules.
Ashley Penney [Mon, 3 Mar 2014 16:58:26 +0000 (11:58 -0500)]
Merge pull request #327 from laurenrother/1.0.x
Add "Release Notes/Known Bugs" to Changelog
Lauren Rother [Sat, 1 Mar 2014 01:41:47 +0000 (17:41 -0800)]
Adds "Release Notes/Known Bugs" to Changelog, updates file format to markdown, standardizes the format of previous entries
Per a request to have initial release notes that specifically listed known issues for this PE 3.2 release, and barred by time constraints from automating a pull from open issues in JIRA, this commit adds a Release Note and Known Bug section to the Changelog for the imminent 3.2 release. As it will display on the Forge, updates file type to markdown and standardizes previous entries. Adds template for release notes to be filled in later.
Hunter Haugen [Sat, 1 Mar 2014 01:42:14 +0000 (17:42 -0800)]
Change OEL limitation description
Ashley Penney [Fri, 28 Feb 2014 20:19:34 +0000 (15:19 -0500)]
Merge pull request #325 from apenney/suse-fix
One lousy letter away from working perfectly on SLES.
Ashley Penney [Fri, 28 Feb 2014 20:17:52 +0000 (20:17 +0000)]
One lousy letter away from working perfectly on SLES.
Ashley Penney [Fri, 28 Feb 2014 19:08:38 +0000 (14:08 -0500)]
Merge pull request #324 from apenney/socket-owner-sles-madness
Socket owner sles madness
Ashley Penney [Fri, 28 Feb 2014 17:44:20 +0000 (17:44 +0000)]
Update the tests to not test socket on SLES.
Ashley Penney [Fri, 28 Feb 2014 17:44:11 +0000 (17:44 +0000)]
Update the limitations documentation for SLES and Oracle Linux 5.
Hunter Haugen [Tue, 25 Feb 2014 00:35:13 +0000 (16:35 -0800)]
Merge pull request #315 from petems/80_character_lint_fix
Puppet-lint fix for > 80 character line
Hunter Haugen [Fri, 21 Feb 2014 21:07:48 +0000 (13:07 -0800)]
Merge pull request #323 from hunner/fix_path
Remove path from tests
Hunter Haugen [Fri, 21 Feb 2014 21:06:00 +0000 (13:06 -0800)]
Remove path from tests
On sles and potentially other platforms iptables is not in /sbin
Hunter Haugen [Fri, 21 Feb 2014 20:56:16 +0000 (12:56 -0800)]
Merge pull request #322 from hunner/fix_socket
Fix logic for supported socket platforms
Hunter Haugen [Fri, 21 Feb 2014 20:55:20 +0000 (12:55 -0800)]
Fix logic for supported socket platforms
Hunter Haugen [Thu, 20 Feb 2014 20:34:07 +0000 (12:34 -0800)]
Merge branch 'master' into 1.0.x
Ashley Penney [Thu, 20 Feb 2014 19:04:04 +0000 (14:04 -0500)]
Merge pull request #321 from hunner/fix_over_9000
Bugfix: Account for rules sorted after unmanaged rules
Hunter Haugen [Wed, 19 Feb 2014 23:32:24 +0000 (15:32 -0800)]
Bugfix: Account for rules sorted after unmanaged rules
The offset calculation assumed unmanaged rules are numbered 9000+ and
would be sorted to the end and didn't need to be accounted for. This
caused failures when people used9-numbered rules. This should fix that.
Additionally, for rules that are 9-numbered, they should be ordered
*after* unmanaged rules, so this fixes that too.
So when encountering unmanaged rules, the order will be something like
this:
- Managed rules that begin with 0 through 8
- Unmanaged rules (which are assigned 9-numbers)
- Managed rules that begin with 9 (but not numbered lower than the
unmanaged rules)
Mixing unmanaged rules with managed rules is still not officially
supported, but at least we can try and behave with them.
Ashley Penney [Wed, 19 Feb 2014 19:54:11 +0000 (19:54 +0000)]
Add PE support.
Ashley Penney [Wed, 19 Feb 2014 19:55:33 +0000 (14:55 -0500)]
Merge pull request #319 from apenney/add-pe
Add PE support.
Ashley Penney [Wed, 19 Feb 2014 19:54:11 +0000 (19:54 +0000)]
Add PE support.
Ashley Penney [Wed, 19 Feb 2014 16:39:15 +0000 (11:39 -0500)]
Merge pull request #316 from hunner/release_1.0.1
Release 1.0.1
Hunter Haugen [Wed, 19 Feb 2014 04:23:02 +0000 (20:23 -0800)]
Release 1.0.1
Bugfix: gracefully fail to manage ip6tables on iptables 1.3.x
Hunter Haugen [Wed, 19 Feb 2014 04:19:26 +0000 (20:19 -0800)]
Merge pull request #314 from hunner/fix_cent5
Fix various differences for rhel5
Hunter Haugen [Tue, 18 Feb 2014 21:13:22 +0000 (13:13 -0800)]
Fix various differences for rhel5
iptables 1.3.5 ships on rhel 5 and is really old. It doesn't support
`--comment` on ip6tables, doesn't support `-m socket` or `--random`, and
the format of netmasks uses subnet mask format instead of CIDR.
Peter Souter [Wed, 12 Feb 2014 15:25:38 +0000 (15:25 +0000)]
Puppet-lint fix for > 80 character line
Hunter Haugen [Tue, 18 Feb 2014 18:06:55 +0000 (10:06 -0800)]
Merge pull request #312 from justinstoller/maint/1.0.x/remove_basic_spec
Remove acceptance/basic_spec
Ashley Penney [Tue, 18 Feb 2014 17:10:45 +0000 (12:10 -0500)]
Merge pull request #309 from petems/ignore_vagrant_folder
Ignore .vagrant folder
Justin Stoller [Sat, 15 Feb 2014 06:20:35 +0000 (22:20 -0800)]
Remove acceptance/basic_spec
This removes the legacy "basic_spec" that was used as an introduction to
module testing. It assumes the FOSS path for the module dir. Since the
default module dir changes in PE depending on whether or not the module
is distributed with PE or not, these basic specs have been removed from
other modules.
Hunter Haugen [Fri, 14 Feb 2014 23:46:16 +0000 (15:46 -0800)]
Merge pull request #311 from hunner/fix_nobody
Use iptables-save and parse the output