Skip to content

Releases: rtkwlf/cookbook-simple-iptables

0.8.0

17 Nov 15:55
Compare
Choose a tag to compare
  • Order of rules with the same weight reflects the order of the resources in a recipe
  • Switch to default attributes from normal attributes

0.7.5

27 Jun 17:41
Compare
Choose a tag to compare
  • Allow NAT for IPv6 (#79 - andrewheald)

0.7.4

26 Jan 03:23
Compare
Choose a tag to compare
  • A :default parameter should not be specified on :name_attribute attributes (#78 - iroller)

0.7.3

24 Oct 17:20
Compare
Choose a tag to compare
  • Fix ipv6 support when using ip-version :both (#73 - chantra)
  • Avoid Lazy Defaults in LWRP Definitions to maintain compatibility with older Chef version

0.7.2

12 Jun 19:06
Compare
Choose a tag to compare
  • simple_iptables_rule attribute "rule" defaults to "" (#71 - rtkcstegel)
  • fixed foodcritic errors saying provider needed to always call new_resource.updated_by_last_action (#71 - rtkcstegel)
  • support aws AMI (#69 - chantra)

0.7.1

05 Feb 19:43
Compare
Choose a tag to compare
  • Allow setting comment for rule (#57 - TheMeier)
  • Load rules on reboot on RHEL 7 and later (#58 - TheMeier)
  • Use the simple_iptables_rule resource name as the comment by default (#63 - dblessing)
  • Fix bug allowing duplicate entries (#60 - roman-yepishev-enoc)
  • Add ChefSpec matchers (#64 - dblessing)

0.7.0

06 Sep 16:08
Compare
Choose a tag to compare
  • Add ip6tables (IPv6) support (#56 - chantra)
  • Add :none to one of the values that the attribute direction can be set to.
    When set to :none, a rule to jump to the chain created will not be added to any
    direction chains (#54 - Kevin Deng)
  • Add node.simple_iptables.tables attribute to specify the tables for which rules
    will be generated (#53 - Pavel Yudin)
  • Add Test Kitchen tests (#51 - Pavel Yudin)

0.6.5

21 Jul 00:09
Compare
Choose a tag to compare
  • Fix one-shot testing code to work with Chef versions prior to 11.12.
  • Make one-shot testing error line detection code more robust (#48 - Kim Tore Jensen)
  • Add chain_condition attribute to rule provider. This allows to specify
    a condition which is tested before jumping to the chain.
    If a chain_condition is not specified, the jump is unconditional, as before.
  • Fix README examples to use direction attribute rather than chain.

0.6.4

08 Jun 22:23
Compare
Choose a tag to compare

Changed testing mechanism to use iptables-restore --test. This tests all rules at once and results in much better performance. In case of a failure, the rule causing it is included in the exception raised.

0.6.3

31 May 17:06
Compare
Choose a tag to compare
  • Change how default attributes are set in attributes/default.rb file for consistency with how they are set when they are cleared in simple_iptables recipe
  • Clarify in the README that the simple_iptables recipe needs to be included before any of the resources provided by the cookbook are used