This file is used to list changes made in each version of the iptables cookbook.
- Cookstyle Bot Auto Corrections with Cookstyle 6.17.6 - @cookstyle
- Remove the FQDN from the config file - @ziggythehamster
- Set all resources to use
unified_mode
- Bump the supported
chef_version
up to 15.3 - Another fix for "undefined method
new_resource
" - Resolved error:
resources/service.rb:65
undefined method `new_resource' for Chef::Resource::Service (Fixes #129)
- Resolved cookstyle error: recipes/default.rb:19:14 warning:
Lint/SendWithMixinArgument
- Fixes issue where comments with a space were not quoted and would cause iptables to fail to start
- Allow the use of String for rule
:ip_Version
- @bmhughes - Allow the use of String and Integer for rule
:protocol
- @bmhughes
- Expose all basic options on rules - @Xorima
- Deprecate all recipes - @Xorima
- Remove a lot of Attributes - @Xorima
- Added new resources to manage install and service for iptables - @Xorima
For Upgrading notes see UPGRADING.md
- Update readme to require 12.15+ - @tas50
- Lazy eval the node attributes in the resources so we can override them and not fail on non-Linux platforms- @tas50
- Rule resources refactored to accumulator style. See the new usage in the readme
- CentOS 8 support
- Cookstyle fixes - @tas50
- name_attributes -> name_properties - @tas50
- Remove recipe and long_description metadata - @tas50
- Simplify platform check logic - @tas50
- Remove respond_to? from metadata.rb - @tas50
- Require Chef 12.15+ - @tas50
- Add sensitive option to resources
- Added filemode property to generated rule files
- Remove mention of matchers in the readme
- Add back support for RHEL 6 + fix Amazon Linux 2 support
- Add additional specs for the package installs so we don't break this in the future
- Use persistent iptables package for Debian config
- Add IPv6 support to iptables_rule and Add iptables_rule6
- Extend disabled recipe for Fedora and Amazon distros
- Fix converge failures in the custom resource introduced in 4.3.3
- Remove stove and tomlrb from the Gemfile
- use apt_update not apt cookbook in testing
- Add Amazon Linux to test kitchen
- Simplify the platform family check using our helpers
- Don't use kind_of in the custom resource (FC117)
- Fix FC108 to resolve test failures
- Switch from ServerSpec to InSpec
- Resolve ChefSpec warnings
- Remove ChefSpec matchers that are no longer needed since ChefSpec autogenerates these
- Updating namespace for attribute-based rules in the readme
- Add Amazon Linux support on Chef 13
- Resolve deprecation warning
- [GH-69] - Clearing out iptables rule files on RHEL with the iptables::disabled recipe
- specify optional table property for use with lines
- Update metadata to require Chef 12.10+ due to use of with_run_context
- Remove EOL platforms from testing
- Require Chef 12.5 and remove compat_resource dependency
- Update readme to include new attribute
- Check subcmd exit codes in rebuild-iptables script
- fixed iptables disabled recipe to flush iptables after disabling the service
- Fix rules resource so rebuild-iptables only runs once
- Add tests for nested resources
- Add system ruby attribute so that it can be overridden
- Remove kitchen cloud config
- Fix default specs to work properly on RHEL and other general spec cleanup
- Simplify testing and fix failing tests on RHEL
- allow using a file provider instead of a template
- rename 'content' to 'lines' and add documentation
- make the attributes example a bit more useful
- using iptables-restore logic for rhel - same as debian
- copy new config to default location in case of iptables restart
- refactored rebuild-iptables script
- Update supported os
- Use compat_resource to restore Chef 12.1 - 12.4 compatibility
- Remove the dependency on compat_resource cookbook. This fixes RHEL systems, but increases the required Chef version to 12.5 or later
- Fixed failures on RHEL in the disabled recipe
- Improved compatbility with Fedora
- Added management of the iptables sysconfig files using 2 new attributes. See the readme for more information
- Fixed rules not being rebuilt when using the disable action in the custom resource
- Added Chefspec matchers
- Migrated LWRP to Chef 12.5 custom resources format with backwards compatibility provided via compat_resource cookbook to 12.X family
- Added Start / enable of iptables service in the default recipe when on RHEL based systems and the management of /etc/sysconfig/iptables so the service can start
- Added removal of /etc/iptables.d/ to the disabled recipe to allow for reenabling later on
- Modified the iptables service disable in the disable recipe to only run when on RHEL based systems
- Expanded the serverspec tests and test kitchen suites to better test rules custom resource and disable recipe
- Fixed metadata description of the default recipe
- Added Kitchen CI config
- Added Chefspec unit tests
- Updated to our standard Rubocop config and resolve all warnings
- Added Travis CI config for lint / unit testing on Ruby 2/2.1/2.2
- Updated Contributing and Testing docs
- Added a maintainers doc
- Added a Gemfile with development and testing dependencies
- Added cookbook version and Travis CI badges to the readme
- Clarified in the readme that the minimum supported Chef release is 11.0
- Added a Rakefile easier testing
- Added a chefignore file to limit files that are uploaded to the Chef server
- Update to modern notification format to resolve Foodcritic warnings
- Added source_url and issues_url to the metadata for Supermarket
- Removed pre-Ruby 1.9 hash rockets
NOTE: This release includes breaking changes to the behavior of this cookbook. The iptables_rule definition was converted to a LWRP. This changes the behavior of disabling iptables rules. Previously a rule could be disabled by specifying enable false
. You must now specify action :disable
. Additionally the cookbook no longer installs the out of the box iptables rules. These were rules made assumptions about the operating environment and should not have been installed out of the box. This makes this recipe a library cookbook that can be better wrapped to meet the needs or your particular environment.
- Definition converted to a LWRP to providing why-run support and
- The out of the box iptables rules are no longer installed. If you need these rules you'll need to wrap the cookbook and use the LWRP to define these same rules.
- Removed all references to the roadmap and deprecation of the cookbook. It's not going anywhere any time soon
- Use platform_family to better support Debian derivatives
- Converted file / directory modes to strings to preserve the leading 0
- Added additional RHEL derivitive distributions to the metadata
- Expanded excluded files in the gitignore and chefignore files
- Included the latest contributing documentation to match the current process
- Fixing File.exists is deprecated for File.exist
- [#14] Adds basic testing suite including Berksfile
- [#14] Adds basic integration/post-converge tests
- [#14] Adds default prefix and postfix rules to disalow traffic
- [COOK-4496] Added Amazon Linux support
- [COOK-3927] Substitute Perl version of rebuild-iptables with Ruby version
- [COOK-4411] - Add newling to iptables.snat
- [COOK-2213] - iptables disabled recipe
- [COOK-1883] - add perl package so rebuild script works
- [COOK-641] - be able to save output on rhel-family
- [COOK-655] - use a template from other cookbooks
- Current public release.