Skip to content

Releases: sous-chefs/firewall

7.0.0

03 Jan 10:35
Compare
Choose a tag to compare

Summary

Key changes in this release:

  • Rich Rules on firewalld: The firewall_rule resource now creates rich rules on firewalld platforms instead of using the deprecated --direct interface.
  • Flexible firewall selection: The cookbook now uses the default['firewall']['solution'] attribute to determine the firewall solution to use instead of a hardcoded assignment for each platform. It defaults to the platform's native firewall (same as previous hardcoded values).
  • Firewalld 2.0.0: Platforms using firewalld 2.0.0 and later, such as RHEL 10 and Ubuntu 24.04, are now supported.

Upgrade Instructions

This release introduces breaking changes. To upgrade to this release:

  • Migrate usages of the disabled property on firewall resources to the enabled property instead.
  • Migrate usages of default['firewall']['firewalld'] attributes to firewalld_zone resources.
  • Remove usages of the :save action from firewall_rule resources. Rules are now always saved permanently.
  • Remove usages of the permanent property on firewall_rule resources. Rules are now always saved permanently.
  • Remove usages of the disabled_zone and enabled_zone properties on firewall resources. Use the firewalld_zone resource to manage firewalld zone configuration.
  • Replace usages of the firewall::firewalld recipe with firewall::default.
  • Migrate usages of attributes default['firewall']['ubuntu_iptables'] and default['firewall']['redhat7_iptables'] with default['firewall']['solution'].

Added

  • Support for firewalld 2.0.0 and the platforms that use it; RHEL 10 and Ubuntu 24.04.
    • priority, ingress_priority, egress_priority properties added to firewalld_zone.
  • Added firewalld_rich_rule resource for adding/removing rich rules to/from firewalld zones.
  • Support for IPv6 rules on firewalld platforms.
  • Support for using any compatible firewall solution on any platform. Defaults to the operating system's default firewall solution.

Changed

  • Ensure firewalld service remains enabled and started when installed.
  • firewall_rule resource now creates rich rules on firewalld platforms, instead of the using the deprecated --direct firewalld interface.

Fixed

  • Fixed: firewall_rule resource fails with a --zone is an invalid option with --direct error on firewalld.
  • Fixed: New zones created by firewalld_zone unexpectedly have forwarding enabled by default.
  • Fixed: firewalld_* resources ignore properties whose value is false.
  • Fixed: firewalld_* resources were not idempotent when using ports, source_ports, and rich_rules properties.
  • Fixed: ufw provider doesn't ensure ufw service is enabled.

Removed

  • Removed deprecated disabled property from firewall resource.
  • Removed all default['firewall']['firewalld'] attributes. Use the firewalld_zone resource to manage firewalld zone configuration.
  • Removed firewalld action :save from firewall resource. Firewalld rules are now always added permanently.
  • Removed firewalld property permanent from firewall_rule resource. Firewalld rules are now always added permanently.
  • Removed properties disabled_zone and enabled_zone from firewall resource. Use the firewalld_zone resource to manage firewalld zone configuration.
  • Removed recipe firewall::firewalld. Its functionality has been merged into the firewall::default recipe.
  • Removed attributes default['firewall']['ubuntu_iptables'] and default['firewall']['redhat7_iptables']. Use the new default['firewall']['solution'] attribute to set the desired firewall solution to use.

6.3.9

05 Dec 20:49
Compare
Choose a tag to compare
Update metadata for 6.3.9

6.3.8

18 Nov 17:54
Compare
Choose a tag to compare

Standardise files with files in sous-chefs/repo-management

Standardise files with files in sous-chefs/repo-management

6.3.7

15 Jul 16:45
Compare
Choose a tag to compare

Standardise files with files in sous-chefs/repo-management

Standardise files with files in sous-chefs/repo-management

6.3.6

06 May 16:56
Compare
Choose a tag to compare
Update metadata for 6.3.6

6.3.5

06 May 16:55
Compare
Choose a tag to compare

Added support for firewalld zone attribute

v0.11.8

20 May 18:41
Compare
Choose a tag to compare

v0.11.8 (2014-05-20)

  • Corrects issue where on a secondary converge would not distinguish between inbound and outbound rules

v0.11.6

28 Feb 15:21
Compare
Choose a tag to compare

v0.11.6 (2014-02-28)

[COOK-4385] - UFW provider is broken

v0.11.4

25 Feb 19:21
Compare
Choose a tag to compare

v0.11.4 (2014-02-25)

[COOK-4140] Only notify when a rule is actually added

v0.11.2

01 Oct 04:14
Compare
Choose a tag to compare

Bug

  • COOK-3615 - Required UFW package is not installed on Debian