Projet

Général

Profil

Paste
Télécharger au format
Statistiques
| Branche: | Révision:

root / spec / classes / ip_nat_spec.rb @ 51850192

Historique | Voir | Annoter | Télécharger (9,47 ko)

# Date Auteur Commentaire
0b7bcb5d 2023-01-04 05:01 mh

Align filemode on RedHat to distro default

The RPM acutally ships the configuration and directory with
0600/0700 while this module sets the mode to 0640/0750.

However, this has the drawback that on new nftables RPM versions,
we are setting it back to the modules mode and triggering an nft...

6c2f0f10 2021-12-16 09:26 Steve Traylen

rubocop -f RSpec/RepeatedExampleGroupDescription

c82b960a 2021-12-16 08:55 Steve Traylen

rubocop:auto_correct results

fa92e118 2021-09-17 21:35 Romain Tartière

Pet rubocop

fcb79d73 2021-09-07 05:37 Ben Morrice

support a different table name for 'nat'
- Some applications (such as libvirt) still use iptables to inject firewall
rules
- iptables will refuse to update tables that were initially created with nft
- This commit allows defining the name of the 'nat' table in order to avoid...

fcb1d356 2020-12-10 02:23 Nacho Barrientos

Auto fill simple table configuration

82d10659 2020-11-26 15:39 Nacho Barrientos

Allow disabling default NAT tables and chains

30462da1 2020-11-26 05:19 Steve Traylen

Reload rules atomically

Background: The unit file for nftables on CentOS 8 contains:

```
ExecStart=/sbin/nft -f /etc/sysconfig/nftables.conf
ExecReload=/sbin/nft 'flush ruleset; include "/etc/sysconfig/nftables.conf";'
ExecStop=/sbin/nft flush ruleset
```...

61f03b47 2020-11-19 09:19 Steve Traylen

Switch $order$fragmenta/b to $order-$fragment-a/b

e53053ce 2020-11-19 08:31 Steve Traylen

Add comments for all the nftable::rules entries

For each nftable::rule this adds an extra concat fragment to
add a comment containing the name and order number for the rule.

The motivation here is to make the mapping from resulting rules back
to puppet code more obvious. When adding a new rule it should be more...

e4c32222 2020-11-13 09:55 Nacho Barrientos

Use concat for table conf generation

This way other components of the module will be able to add extra stuff
to the table definitions like sets.

248ef9d5 2020-10-28 14:40 tr

Add basic ip6 nat chains

01d8a819 2020-10-16 10:29 tr

Styling to make tests green

605d5fde 2020-08-30 07:07 tr

Add spec tests for ip nat chain policies

c8e93806 2020-08-30 06:09 tr

Fix nat hooks

5bd849ba 2020-08-30 06:09 tr

Rename to snake cases