Hunter Haugen [Mon, 30 Jun 2014 18:03:41 +0000 (11:03 -0700)]
Merge pull request #384 from cmurphy/master
Synchronize .travis.yml
Colleen Murphy [Mon, 30 Jun 2014 17:57:51 +0000 (10:57 -0700)]
Update Gemfile for .travis.yml defaults
Colleen Murphy [Fri, 27 Jun 2014 17:54:51 +0000 (10:54 -0700)]
Synchronize .travis.yml
Colleen Murphy [Fri, 27 Jun 2014 16:31:49 +0000 (09:31 -0700)]
Update .sync.yml to support new .travis.yml configs
Morgan Haskel [Thu, 26 Jun 2014 18:02:05 +0000 (14:02 -0400)]
Merge pull request #382 from cmurphy/master
Start synchronizing module files
Colleen Murphy [Thu, 26 Jun 2014 00:23:19 +0000 (17:23 -0700)]
Sync files
Colleen Murphy [Thu, 26 Jun 2014 00:00:02 +0000 (17:00 -0700)]
Add configuration file for modulesync
https://github.com/puppetlabs/modulesync
Hunter Haugen [Wed, 11 Jun 2014 18:04:58 +0000 (11:04 -0700)]
Merge branch 'MFredette'
MFredette [Thu, 5 Jun 2014 21:09:58 +0000 (14:09 -0700)]
Update README.markdown
Michelle Fredette [Thu, 5 Jun 2014 21:04:05 +0000 (14:04 -0700)]
Copy edited version.
Michelle Fredette [Thu, 5 Jun 2014 01:04:45 +0000 (18:04 -0700)]
Format fixes to firewall readme.
Michelle Fredette [Thu, 5 Jun 2014 00:25:32 +0000 (17:25 -0700)]
Updates to Firewall Readme for review.
Morgan Haskel [Mon, 2 Jun 2014 15:35:16 +0000 (11:35 -0400)]
Merge pull request #366 from lwh/fix/master/modules-11
(doc) Fix small typos in the README (MODULES-11)
Luke Hollins [Mon, 2 Jun 2014 15:10:35 +0000 (11:10 -0400)]
(doc) Fix small typos in the README (MODULES-11)
For https://tickets.puppetlabs.com/browse/MODULES-11
Double "the" fixed and undo a typo fix that reverted this commit:
https://github.com/puppetlabs/puppetlabs-firewall/commit/
13457a4ade45f4a46d64ceb4da9d2b9582c39fcd
Hunter Haugen [Wed, 28 May 2014 19:05:13 +0000 (12:05 -0700)]
Merge pull request #363 from hunner/fix_policy_ipsec_options
(MODULES-796) Fix policy ipsec options
Hunter Haugen [Wed, 28 May 2014 19:03:29 +0000 (12:03 -0700)]
Add tests and fix docs/whitespace
Thomas Sturm [Thu, 1 May 2014 08:20:36 +0000 (10:20 +0200)]
fixes MODULES-796
Cheat by adding quotes around policy ipsec and all following options
belonging to ipsec. Otherwise the line cannot be parsed correctly.
The list of options is taken from [1] and the output ordering was
experimentally verified with iptables-v1.4.21 on Ubuntu 14.04.
[1] http://ipset.netfilter.org/iptables-extensions.man.html
Hunter Haugen [Fri, 16 May 2014 18:14:32 +0000 (14:14 -0400)]
Merge pull request #360 from apenney/111-release
Prepare a 1.1.1 release.
Ashley Penney [Fri, 16 May 2014 18:06:55 +0000 (14:06 -0400)]
Prepare a 1.1.1 release.
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 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
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
Hunter Haugen [Fri, 14 Feb 2014 21:19:54 +0000 (13:19 -0800)]
Use iptables-save and parse the output
`iptables -S` didn't work on older OSs, so the tests have been adapted
for that.
There was one test for the NAT table that I'm not sure what the purpose
was, since it seemed to be testing munge instead. I edited it to get it
to pass.
Peter Souter [Wed, 12 Feb 2014 14:57:42 +0000 (14:57 +0000)]
Ignore .vagrant folder
Hunter Haugen [Wed, 12 Feb 2014 00:49:38 +0000 (16:49 -0800)]
Merge pull request #308 from hunner/dynamic_gemsource
Allow custom gemsource
Hunter Haugen [Wed, 12 Feb 2014 00:31:58 +0000 (16:31 -0800)]
Allow custom gemsource
Ashley Penney [Tue, 11 Feb 2014 21:53:46 +0000 (16:53 -0500)]
Merge pull request #307 from apenney/100-release
Prepare a 1.0 release.