Skip to content

Commit

Permalink
Merge pull request #198 from bastelfreak/mlds
Browse files Browse the repository at this point in the history
Add rule for multicast listener requests (MLDv2)
  • Loading branch information
sebastianrakel committed Aug 19, 2023
2 parents 330e617 + e499cec commit 52453e8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ and Manager Daemons (MGR).
* [`nftables::rules::out::imap`](#nftables--rules--out--imap): allow outgoing imap
* [`nftables::rules::out::kerberos`](#nftables--rules--out--kerberos): allows outbound access for kerberos
* [`nftables::rules::out::ldap`](#nftables--rules--out--ldap): manage outgoing ldap
* [`nftables::rules::out::mldv2`](#nftables--rules--out--mldv2): allow multicast listener requests
* [`nftables::rules::out::mysql`](#nftables--rules--out--mysql): manage out mysql
* [`nftables::rules::out::nfs`](#nftables--rules--out--nfs): manage out nfs
* [`nftables::rules::out::nfs3`](#nftables--rules--out--nfs3): manage out nfs3
Expand Down Expand Up @@ -906,6 +907,10 @@ ldapserver ports

Default value: `[389, 636]`

### <a name="nftables--rules--out--mldv2"></a>`nftables::rules::out::mldv2`

allow multicast listener requests

### <a name="nftables--rules--out--mysql"></a>`nftables::rules::out::mysql`

manage out mysql
Expand Down
6 changes: 6 additions & 0 deletions manifests/rules/out/mldv2.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# @summary allow multicast listener requests
class nftables::rules::out::mldv2 {
nftables::rule { 'default_out-mld':
content => 'ip6 daddr { ff02::16 } accept',
}
}
1 change: 1 addition & 0 deletions spec/acceptance/all_rules_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class { 'nftables':
include nftables::rules::mdns
include nftables::rules::igmp
include nftables::rules::out::igmp
include nftables::rules::out::mldv2
include nftables::services::dhcpv6_client
include nftables::services::openafs_client
nftables::set{'my_test_set':
Expand Down

0 comments on commit 52453e8

Please sign in to comment.