Projet

Général

Profil

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

root @ 802d80d1

# Date Auteur Commentaire
802d80d1 2020-11-27 03:35 Nacho Barrientos

Allow sourcing sets from Hiera

7395300c 2020-11-26 16:09 duritong

Merge pull request #25 from cernops/no_nat

Allow disabling default NAT tables and chains

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

Allow disabling default NAT tables and chains

bd549474 2020-11-26 15:07 duritong

Merge pull request #10 from traylenator/reload

Reload rules atomically and verify rules before deploy

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
```...

92461926 2020-11-24 07:53 duritong

Merge pull request #16 from cernops/icmp

Move ICMP stuff to separate classes allowing better customisation

587e522e 2020-11-24 07:51 duritong

Merge pull request #20 from cernops/firewalld_mask

Make masking Service['firewalld'] optional

ae9872e2 2020-11-24 04:17 Nacho Barrientos

Make masking Service['firewalld'] configurable

79e9a23f 2020-11-21 03:10 Nacho Barrientos

Move ICMP stuff to separate classes

def3893c 2020-11-20 10:52 keachi

Merge pull request #15 from traylenator/fixtests

Correct bad merge

8b97e6a3 2020-11-20 03:52 Steve Traylen

Correct bad merge

There was a bad merge between

correct tests.

a5f5fb12 2020-11-19 15:56 duritong

Merge pull request #13 from traylenator/comment

Add comments for all the nftable::rules entries

21d0496e 2020-11-19 15:53 duritong

Merge pull request #14 from cernops/ct_away

Move conntrack rules from global to INPUT and OUTPUT

7b14f6d9 2020-11-19 15:11 keachi

Merge pull request #6 from traylenator/afs

Add rules for afs3_callback in and out rules for kerberos and openafs.

ea96d5db 2020-11-19 10:15 Nacho Barrientos

Move ct rules from global to INPUT and OUTPUT

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...

9e5b8bf0 2020-11-19 05:28 keachi

Merge pull request #12 from cernops/log_format

Allow tables to add comments to $log_prefix

ac0af4aa 2020-11-19 03:16 Nacho Barrientos

Allow tables to add comments to $log_prefix

ef3e9ad6 2020-11-18 15:25 duritong

Merge pull request #8 from cernops/ai5973

Allow raw sets and dashes in set names

9785cd54 2020-11-18 11:02 Steve Traylen

lint fix

215aee13 2020-11-18 07:18 Steve Traylen

Add kerberos out and openafs_client out

f3f2870f 2020-11-18 07:18 Steve Traylen

Add rules for afs3_callback

In particular the afs callback to the cache manager(7001) which is UDP and always
IPv4 since there OpenAFS does not support IPv6.

https://wiki.openafs.org/devel/AFSServicePorts/

5e0146c2 2020-11-17 09:53 keachi

Merge pull request #7 from cernops/reject_with

Add a parameter to control the fate of discarded traffic

7bb485c5 2020-11-16 09:19 Nacho Barrientos

Allow dashes in set names

9f0498e3 2020-11-16 09:16 Nacho Barrientos

Relax nftables::set::type making it optional

This is needed in case nftables::set is passed raw configuration via
source or content.

70727742 2020-11-16 04:50 Nacho Barrientos

Add a parameter to control the fate of discarded packets

0cf43fdf 2020-11-15 16:37 duritong

Merge pull request #4 from cernops/dhcp6

Add classes encapsulating rules for DHCPv6 client traffic (in/out)

37b2a3b7 2020-11-15 13:41 Nacho Barrientos

Add class nftables::services::dhcpv6_client

883389dc 2020-11-15 10:51 duritong

Merge pull request #5 from cernops/custom_log_prefix

Allow customising the log prefix

43566263 2020-11-15 10:47 Nacho Barrientos

Add rules for outgoing and incoming DHCPv6 client traffic

ed827383 2020-11-15 04:44 Nacho Barrientos

Allow customising the log prefix

317b8d01 2020-11-13 14:21 keachi

Merge pull request #3 from cernops/ai5973

Add support for named sets

20b96360 2020-11-13 09:57 Nacho Barrientos

Add support for named sets

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.

18ec6f48 2020-11-05 16:43 tr

Fix rulenames which includes an index

The rulename has a regex pattern `[/^[a-zA-Z0-9_]+-[a-zA-Z0-9_]+(\d+)?$/]`
which allows an index at the end of the rulename (with a delimiter).
This is split later with `$data = split($rulename, '
')` but the content...

e5eb7424 2020-11-05 16:37 tr

Allow to specify prometheus source addresses

e73f2e97 2020-10-28 15:53 tr

Fix rule node exporter

8227cb1c 2020-10-28 15:50 tr

Manage rule in dns

cb50fd79 2020-10-28 15:47 tr

Add rule in node_exporter

e105f149 2020-10-28 14:50 tr

Include table ip6 nat

248ef9d5 2020-10-28 14:40 tr

Add basic ip6 nat chains

579e27df 2020-10-27 02:22 tr

Fix the regex for bridge names

2c00d766 2020-10-27 02:22 tr

Replace dashes with underlines

Docker daemon bridges contains dashes, replace them with underlines to
fit the naming concept.

66ed7f61 2020-10-26 02:15 mh

migrate create_resource to the generic loop over hash approach

create_resource is notorious for not providing exact line/file info
when something fails. Since in puppet you can now loop over hashes
and you have the splat assignment operator. This means you get much...

66b1a7a9 2020-10-25 10:05 tr

Allow ICMPv6 Router Advertisment packets

fd0eaeca 2020-10-24 06:02 tr

Add class bridges

Allow traffic from any bridge to itself by default

c1224db5 2020-10-23 13:47 tr

Move filter rules to inet_filter class

b3a7a6dd 2020-10-23 13:46 tr

Allow to inject custom rules

0f63a915 2020-10-23 13:19 tr

Git ignore .ruby-version

8726ba4c 2020-10-23 05:55 tr

Switch back to Ruby 2.5

```
can't modify frozen String: "true"
```
[Ticket IAC-1146](https://tickets.puppetlabs.com/browse/IAC-1146)

b171ac7f 2020-10-20 12:55 mh

fix offenses

9511e610 2020-10-20 11:36 duritong

Merge pull request #1 from traylenator/all

New parameter out_all, default false

e17693e3 2020-10-20 08:29 Steve Traylen

New parameter out_all, default false

In order to allow all outbound traffic a parameter is
added to enable a simple `allow` entry on the out chain.

Default is false so backwards compatible.

If true all the other out_bound rules (ntp, ...) will be disabled...

3f91610b 2020-10-16 11:17 tr

Merge branch 'pdk' into 'master'

Add a PDK configuration and run PDK convert

See merge request immerda/puppet-modules/nftables!1

9d7d63a6 2020-10-16 11:14 tr

Only test with Ruby 2.7 and Puppet 6

01d8a819 2020-10-16 10:29 tr

Styling to make tests green

705bb26f 2020-10-16 09:52 tr

Add travis ci configuration

ece9be27 2020-10-15 17:44 tr

Do PDK convert

a074dec2 2020-10-14 12:23 tr

Allow index numbers

25205881 2020-10-14 12:15 tr

Fix rule puppet out

4db4422a 2020-10-13 14:24 tr

Add http and https

44ac0a4e 2020-10-11 06:52 mh

add license file

a6316327 2020-08-31 06:51 tr

Use enum instead of pattern for proto

3d29a6eb 2020-08-31 06:13 tr

Add a rule to create snat

a0d5c724 2020-08-31 06:12 tr

Test masquerade default proto

2a3b45ec 2020-08-31 05:38 tr

Add a define for masquerading

a5205d2f 2020-08-31 05:01 tr

Extract the dnat spec tests

7cc88e25 2020-08-30 11:08 tr

Linting

ba5e15bd 2020-08-30 11:04 tr

Add rules for OSPF

351a88fb 2020-08-30 10:49 tr

Add a define for ipv4 dnat

af544fea 2020-08-30 09:15 tr

Create a special ingoing chain for all ingoing fwd rules

9adf6851 2020-08-30 08:47 tr

Add mld-listener-done to the list of allowed icmpv6 types

b01596ea 2020-08-30 08:46 tr

Rename file filter to inet-filter

f02562f2 2020-08-30 07:18 tr

Stop and mask firewalld service

2e704fc9 2020-08-30 07:09 mh

add new rules

8f5d09ec 2020-08-30 07:07 tr

Linting

9ae64df9 2020-08-30 07:07 tr

Add spec tests for a DNAT

95b1259b 2020-08-30 07:07 tr

Add spec tests for ip nat prerouting

d78c1613 2020-08-30 07:07 tr

Add spec tests for router functionality

605d5fde 2020-08-30 07:07 tr

Add spec tests for ip nat chain policies

c02d1b07 2020-08-30 06:31 mh

add a few more rules

c8092701 2020-08-30 06:17 tr

Split init class

c8894978 2020-08-30 06:09 tr

Use default

c8e93806 2020-08-30 06:09 tr

Fix nat hooks

5bd849ba 2020-08-30 06:09 tr

Rename to snake cases

7940fb07 2020-08-30 06:04 tr

Adapt readme to the refactoring

38a67c59 2020-08-30 05:45 tr

Rewrite ip-nat to concat

422b6851 2020-08-30 05:44 tr

Add spec tests for ip-nat

6f38efff 2020-08-30 05:43 tr

Rename spec filter to inet-filter

5df9303f 2020-08-30 05:24 tr

Replace filter with inet-filter

8efbdf9a 2020-08-29 19:05 tr

Refactoring

e89da898 2020-08-29 14:31 tr

Linting

f34dae00 2020-08-29 14:14 tr

Spec tests for default rules

3ccc62ae 2020-08-29 13:52 tr

Add spec tests for default chains

be6aa569 2020-08-29 13:25 tr

Add spec tests for filter chains

a04bdb5e 2020-08-29 13:24 tr

Add a newline to filter chains

f6848bb8 2020-08-29 13:01 tr

Explicitly set ensure file

5d3f76a0 2020-08-29 12:38 tr

Disable some rubocop checks for spec files

5acb554a 2020-08-29 12:06 tr

Write some spec tests for init class