]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
Add ipv6 fragmentation matchers and generify known_boolean handling.
authorGeorg Koester <georg.koester@gmail.com>
Fri, 12 Apr 2013 07:58:09 +0000 (00:58 -0700)
committerGeorg Koester <georg.koester@gmail.com>
Wed, 10 Jul 2013 09:23:52 +0000 (02:23 -0700)
commitce61a24dbd408ae784e812297f77f6dac19ff4a5
tree5289cf1bf9ee4db02e4d77b30806933690a44e9a
parent8d14c7ac568946c43b4fcf3e288ed38409f478b1
Add ipv6 fragmentation matchers and generify known_boolean handling.

Adds tests for ipv6, too.

ip6tables handles fragmentation differently. There's a special
module and a couple of matchers which are all needed to
implement a stateless firewall correctly.

known_boolean handling with etc has been generified.
The known_boolean functionality was partly tailored
to the :socket feature.
lib/puppet/provider/firewall/ip6tables.rb
lib/puppet/provider/firewall/iptables.rb
lib/puppet/type/firewall.rb
spec/fixtures/ip6tables/conversion_hash.rb [new file with mode: 0644]
spec/unit/puppet/provider/iptables_spec.rb