Skip to content

Commit e7f9a38

Browse files
committed
add more ipset documentation
1 parent e55d4ec commit e7f9a38

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

README.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,8 @@ If Puppet is managing the iptables or iptables-persistent packages, and the prov
446446

447447
* `ipsec_policy`: Sets the ipsec policy type. Valid values are 'none', 'ipsec'. Requires the `ipsec_policy` feature.
448448

449+
* `ipset`: Matches IP sets. Value must be `ipset_name (src|dst|src,dst)` and can be negated by putting ! in front. Requires ipset kernel module.
450+
449451
* `isfirstfrag`: If true, matches when the packet is the first fragment of a fragmented ipv6 packet. Cannot be negated. Supported by ipv6 only. Valid values are 'true', 'false'. Requires the `isfirstfrag` feature.
450452

451453
* `isfragment`: If 'true', matches when the packet is a tcp fragment of a fragmented packet. Supported by iptables only. Valid values are 'true', 'false'. Requires features `isfragment`.

lib/puppet/type/firewall.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,7 @@ def should_to_s(value)
968968
newproperty(:ipset, :required_features => :ipset) do
969969
desc <<-EOS
970970
Matches against the specified ipset list.
971+
Requires ipset kernel module.
971972
The value is the name of the blacklist, followed by a space, and then
972973
'src' and/or 'dst' separated by a comma.
973974
For example: 'blacklist src,dst'

0 commit comments

Comments
 (0)