]> gitweb.fluxo.info Git - puppet-ferm.git/log
puppet-ferm.git
5 years agoMerge pull request #95 from bastelfreak/vz
Tim Meusel [Fri, 3 Apr 2020 14:27:44 +0000 (16:27 +0200)]
Merge pull request #95 from bastelfreak/vz

Add VZ 6/7 to metadata.json

5 years agoAdd VZ 6/7 to metadata.json
Tim Meusel [Mon, 2 Mar 2020 19:23:52 +0000 (20:23 +0100)]
Add VZ 6/7 to metadata.json

5 years agoMerge pull request #92 from bastelfreak/travis
Garrett Honeycutt [Tue, 11 Feb 2020 21:25:43 +0000 (16:25 -0500)]
Merge pull request #92 from bastelfreak/travis

delete legacy travis directory

5 years agoMerge pull request #94 from voxpupuli/modulesync
Garrett Honeycutt [Tue, 11 Feb 2020 21:24:51 +0000 (16:24 -0500)]
Merge pull request #94 from voxpupuli/modulesync

modulesync 3.0.0

5 years agocleanup spec_helper.rb
Tim Meusel [Tue, 11 Feb 2020 20:18:19 +0000 (21:18 +0100)]
cleanup spec_helper.rb

5 years agomodulesync 3.0.0
Tim Meusel [Tue, 11 Feb 2020 18:32:27 +0000 (19:32 +0100)]
modulesync 3.0.0

6 years agoMerge pull request #93 from voxpupuli/modulesync
Tim Meusel [Sun, 22 Dec 2019 00:28:21 +0000 (01:28 +0100)]
Merge pull request #93 from voxpupuli/modulesync

modulesync 2.10.0

6 years agomodulesync 2.10.0
Tim Meusel [Sun, 22 Dec 2019 00:13:42 +0000 (01:13 +0100)]
modulesync 2.10.0

6 years agodelete legacy travis directory
Tim Meusel [Mon, 16 Dec 2019 18:14:23 +0000 (19:14 +0100)]
delete legacy travis directory

6 years agoMerge pull request #91 from voxpupuli/modulesync
Tim Meusel [Mon, 9 Dec 2019 09:52:14 +0000 (10:52 +0100)]
Merge pull request #91 from voxpupuli/modulesync

modulesync 2.9.0

6 years agomodulesync 2.9.0
Dennis Hoppe [Fri, 6 Dec 2019 14:22:49 +0000 (15:22 +0100)]
modulesync 2.9.0

6 years ago[blacksmith] Bump version to 2.7.1-rc0
Fabien COMBERNOUS [Tue, 29 Oct 2019 15:50:47 +0000 (16:50 +0100)]
[blacksmith] Bump version to 2.7.1-rc0

6 years agoMerge pull request #89 from Dan33l/release_2.7.0
Fabien COMBERNOUS [Tue, 29 Oct 2019 15:41:38 +0000 (16:41 +0100)]
Merge pull request #89 from Dan33l/release_2.7.0

release 2.7.0

6 years agorelease 2.7.0
Fabien COMBERNOUS [Tue, 29 Oct 2019 14:59:17 +0000 (15:59 +0100)]
release 2.7.0

6 years agoMerge pull request #88 from Dan33l/revert-pr81
Fabien COMBERNOUS [Tue, 29 Oct 2019 14:46:19 +0000 (15:46 +0100)]
Merge pull request #88 from Dan33l/revert-pr81

revert PR81

6 years agorevert PR81
Fabien COMBERNOUS [Tue, 29 Oct 2019 13:14:36 +0000 (14:14 +0100)]
revert PR81

6 years ago[blacksmith] Bump version to 2.6.1-rc0
Tim Meusel [Tue, 8 Oct 2019 13:57:49 +0000 (15:57 +0200)]
[blacksmith] Bump version to 2.6.1-rc0

6 years agoMerge pull request #86 from bastelfreak/rel260
Tim Meusel [Tue, 8 Oct 2019 13:57:03 +0000 (15:57 +0200)]
Merge pull request #86 from bastelfreak/rel260

release 2.6.0

6 years agorelease 2.6.0
Tim Meusel [Tue, 8 Oct 2019 13:23:54 +0000 (15:23 +0200)]
release 2.6.0

6 years agoMerge pull request #85 from bastelfreak/bugfix
Tim Meusel [Tue, 8 Oct 2019 13:21:38 +0000 (15:21 +0200)]
Merge pull request #85 from bastelfreak/bugfix

ipset: allow multiple instances of defined resource

6 years agoipset: allow multiple instances of defined resource
Tim Meusel [Tue, 8 Oct 2019 13:15:12 +0000 (15:15 +0200)]
ipset: allow multiple instances of defined resource

6 years agoMerge pull request #80 from bastelfreak/ipsets
Tim Meusel [Tue, 1 Oct 2019 14:35:56 +0000 (16:35 +0200)]
Merge pull request #80 from bastelfreak/ipsets

implement ipset support

6 years agoimplement ipset support
Tim Meusel [Mon, 30 Sep 2019 12:51:12 +0000 (14:51 +0200)]
implement ipset support

6 years agoMerge pull request #84 from bastelfreak/docs4
Tim Meusel [Tue, 1 Oct 2019 14:22:29 +0000 (16:22 +0200)]
Merge pull request #84 from bastelfreak/docs4

update docker firewalling example

6 years agoMerge pull request #81 from bastelfreak/hotifx
Tim Meusel [Tue, 1 Oct 2019 14:10:14 +0000 (16:10 +0200)]
Merge pull request #81 from bastelfreak/hotifx

disable conntrack filtering in FORWARD/OUTPUT

6 years agoupdate docker firewalling example
Tim Meusel [Tue, 1 Oct 2019 13:48:09 +0000 (15:48 +0200)]
update docker firewalling example

6 years agodisable conntrack filtering in FORWARD/OUTPUT
Thore Bödecker [Tue, 24 Sep 2019 14:35:19 +0000 (16:35 +0200)]
disable conntrack filtering in FORWARD/OUTPUT

conntrack filtering basically doesn't work in those chains, so we need
to disable it.

6 years agoMerge pull request #83 from bastelfreak/docs3
Tim Meusel [Tue, 1 Oct 2019 13:24:52 +0000 (15:24 +0200)]
Merge pull request #83 from bastelfreak/docs3

delete legacy docs/ folder

6 years agodelete legacy docs/ folder
Tim Meusel [Tue, 1 Oct 2019 12:52:15 +0000 (14:52 +0200)]
delete legacy docs/ folder

We now have a REFERENCE.md in the repository. We don't need the docs/
folder anymore.

6 years agoMerge pull request #75 from Dan33l/move_common_init
Tim Meusel [Sat, 21 Sep 2019 15:37:47 +0000 (17:37 +0200)]
Merge pull request #75 from Dan33l/move_common_init

move common from hiera data values to init.pp

6 years agomove common from hiera data values to init.pp
Fabien COMBERNOUS [Tue, 17 Sep 2019 18:34:14 +0000 (20:34 +0200)]
move common from hiera data values to init.pp

6 years ago[blacksmith] Bump version to 2.5.1-rc0
Tim Meusel [Fri, 13 Sep 2019 14:39:54 +0000 (16:39 +0200)]
[blacksmith] Bump version to 2.5.1-rc0

6 years agoMerge pull request #70 from Dan33l/release-2.5.0
Tim Meusel [Fri, 13 Sep 2019 14:39:32 +0000 (16:39 +0200)]
Merge pull request #70 from Dan33l/release-2.5.0

release 2.5.0

6 years agorelease 2.5.0
Fabien COMBERNOUS [Thu, 12 Sep 2019 21:24:31 +0000 (23:24 +0200)]
release 2.5.0

6 years agoMerge pull request #73 from foxxx0/add-more-examples
Fabien COMBERNOUS [Fri, 13 Sep 2019 11:57:19 +0000 (13:57 +0200)]
Merge pull request #73 from foxxx0/add-more-examples

Add more examples

6 years agoMerge pull request #72 from foxxx0/fix-kernel-incompatibilities
Tim Meusel [Fri, 13 Sep 2019 11:39:21 +0000 (13:39 +0200)]
Merge pull request #72 from foxxx0/fix-kernel-incompatibilities

fix kernel incompatibilities

6 years agoadd conntrack/NOTRACK example
Thore Bödecker [Fri, 13 Sep 2019 11:10:20 +0000 (13:10 +0200)]
add conntrack/NOTRACK example

6 years agofix kernel incompatibilities
Thore Bödecker [Fri, 13 Sep 2019 10:15:19 +0000 (12:15 +0200)]
fix kernel incompatibilities

Certain kernel modules and thus iptables functionality was introduced at
later releases, so we need to properly reflect that in our default chain
initialization procedure.

`INPUT` chain for `nat` table was introduced with 2.6.36

`ip6table_nat` kernel module for NAT functionality with IPv6 was
introduced with 3.17

This commit implements the required conditional constraints and includes
the rspec tests to validate it.

6 years agoMerge pull request #71 from bastelfreak/docs2
Tim Meusel [Fri, 13 Sep 2019 08:47:05 +0000 (10:47 +0200)]
Merge pull request #71 from bastelfreak/docs2

enhance puppet-strings documentation

6 years agoenhance puppet-strings documentation
Tim Meusel [Fri, 13 Sep 2019 08:36:20 +0000 (10:36 +0200)]
enhance puppet-strings documentation

6 years agoMerge pull request #69 from bastelfreak/debian
Fabien COMBERNOUS [Thu, 12 Sep 2019 21:06:55 +0000 (23:06 +0200)]
Merge pull request #69 from bastelfreak/debian

readd Debian 9/10 support

6 years agoreadd Debian 9/10 support
Tim Meusel [Thu, 12 Sep 2019 13:01:58 +0000 (15:01 +0200)]
readd Debian 9/10 support

6 years agoMerge pull request #68 from foxxx0/collect-chains-from-hiera
Tim Meusel [Thu, 12 Sep 2019 08:41:16 +0000 (10:41 +0200)]
Merge pull request #68 from foxxx0/collect-chains-from-hiera

expose parameter to initialize custom chains

6 years agoMerge pull request #67 from foxxx0/allow-proto-array
Tim Meusel [Thu, 12 Sep 2019 08:31:25 +0000 (10:31 +0200)]
Merge pull request #67 from foxxx0/allow-proto-array

allow using an array for $proto

6 years agoexpose parameter to initialize custom chains
Thore Bödecker [Wed, 11 Sep 2019 14:07:44 +0000 (16:07 +0200)]
expose parameter to initialize custom chains

Previously it was not possible to define custom chains with parameter,
e.g. in order to collect them from hiera.
This commit adds this functionality, just like it was already in place for
ferm::rules.

6 years agoallow using an array for $proto
Thore Bödecker [Wed, 11 Sep 2019 14:01:32 +0000 (16:01 +0200)]
allow using an array for $proto

This enables defining ferm::rule with multiple protocols at once,
because using 'all' for $proto does not allow using $dport/$sport.

6 years agoMerge pull request #58 from voxpupuli/multi-table-support
Tim Meusel [Wed, 11 Sep 2019 11:29:12 +0000 (13:29 +0200)]
Merge pull request #58 from voxpupuli/multi-table-support

add ability to configure rules in tables other than the default "filter" table

6 years agoadd ability to define rules in tables != filter
Thore Bödecker [Tue, 3 Sep 2019 09:56:58 +0000 (11:56 +0200)]
add ability to define rules in tables != filter

Previously it was neither possible to properly define custom chains nor
to define rules in tables other than the default filter table.
For various legitimate reasons it can be required to define rules in the
raw, nat or mangle tables, e.g. to use NOTRACK or to configure
DNAT/SNAT/MASQUERADE.
Additionally it might come in handy to define custom chains to group
certain rules and allow a more efficient evaluation for incoming packets
by not cramming all rules into the filter/INPUT chain so that
(worst-case) all packets need to traverse and evaluate all rules.

I have tried to maintain backwards compatibility and to not change
default filenames/paths so that it won't result in leftover obsolete unmaged
files from previous versions of this module.

In order to improve the naming schema the rule $policy has been renamed
to $action, however both parameters are available and optional now, with
some sanity checks that require at most one of them and issueing a
warning() for users of the now deprecated $policy parameter.

All previous tests have been adapted to the changes, a long with an
additional set of tests for the new feature.

Fixes #61

6 years agoMerge pull request #59 from Dan33l/enable_acceptance
Fabien COMBERNOUS [Mon, 9 Sep 2019 15:25:11 +0000 (17:25 +0200)]
Merge pull request #59 from Dan33l/enable_acceptance

enable acceptance and drop EOL ubuntu1404

6 years agoenable acceptance
Fabien COMBERNOUS [Fri, 6 Sep 2019 12:57:21 +0000 (14:57 +0200)]
enable acceptance

6 years agodrop EOL ubuntu1404
Fabien COMBERNOUS [Mon, 9 Sep 2019 13:35:05 +0000 (15:35 +0200)]
drop EOL ubuntu1404

6 years agoMerge pull request #65 from Dan33l/status_option
Tim Meusel [Mon, 9 Sep 2019 15:15:07 +0000 (17:15 +0200)]
Merge pull request #65 from Dan33l/status_option

add missing status option for CentOS 6 init script

6 years agoadd status option
Fabien COMBERNOUS [Mon, 9 Sep 2019 15:03:12 +0000 (17:03 +0200)]
add status option

6 years agoMerge pull request #62 from Dan33l/drop_debian_from_supported_oses
Tim Meusel [Mon, 9 Sep 2019 13:18:25 +0000 (15:18 +0200)]
Merge pull request #62 from Dan33l/drop_debian_from_supported_oses

drop Debian from supported OSes

6 years agodrop Debian from supported OSes
Fabien COMBERNOUS [Mon, 9 Sep 2019 13:01:50 +0000 (15:01 +0200)]
drop Debian from supported OSes

6 years ago[blacksmith] Bump version to 2.4.1-rc0
Tim Meusel [Mon, 2 Sep 2019 11:56:10 +0000 (13:56 +0200)]
[blacksmith] Bump version to 2.4.1-rc0

6 years agoMerge pull request #56 from bastelfreak/rel240
Tim Meusel [Mon, 2 Sep 2019 11:04:22 +0000 (13:04 +0200)]
Merge pull request #56 from bastelfreak/rel240

release 2.4.0

6 years agorelease 2.4.0
Tim Meusel [Mon, 2 Sep 2019 10:42:27 +0000 (12:42 +0200)]
release 2.4.0

6 years agoMerge pull request #55 from bastelfreak/chains
Tim Meusel [Mon, 2 Sep 2019 10:40:55 +0000 (12:40 +0200)]
Merge pull request #55 from bastelfreak/chains

allow preserving of chains in tables

6 years agoallow preserving of chains in tables
Thore Bödecker [Wed, 10 Jul 2019 14:37:50 +0000 (16:37 +0200)]
allow preserving of chains in tables

6 years agoMerge pull request #54 from bastelfreak/debian10
Tim Meusel [Sun, 1 Sep 2019 12:30:05 +0000 (14:30 +0200)]
Merge pull request #54 from bastelfreak/debian10

Add Debian 10 support & make configdirectory configureable

6 years agoAdd Debian 10 support & make configdirectory configureable
Tim Meusel [Sat, 31 Aug 2019 18:28:27 +0000 (20:28 +0200)]
Add Debian 10 support & make configdirectory configureable

6 years agoMerge pull request #52 from bastelfreak/docs
David Hollinger III [Sat, 31 Aug 2019 18:35:04 +0000 (13:35 -0500)]
Merge pull request #52 from bastelfreak/docs

allow all supported iptables protocolls & enhance puppet-strings documentation Unverified

6 years agoMerge pull request #53 from bastelfreak/freebsd
David Hollinger III [Sat, 31 Aug 2019 18:34:46 +0000 (13:34 -0500)]
Merge pull request #53 from bastelfreak/freebsd

remove FreeBSD from supported OS list

6 years agoremove FreeBSD from supported OS list
Tim Meusel [Sat, 31 Aug 2019 18:29:29 +0000 (20:29 +0200)]
remove FreeBSD from supported OS list

This module only works on systems with a linux kernel and iptables.

6 years agoenhance puppet-strings documentation
Tim Meusel [Sat, 31 Aug 2019 17:20:44 +0000 (19:20 +0200)]
enhance puppet-strings documentation

6 years agoallow all supported iptables protocolls
Tim Meusel [Sat, 31 Aug 2019 17:20:04 +0000 (19:20 +0200)]
allow all supported iptables protocolls

6 years agoMerge pull request #51 from kBite/allow-array-for-saddr-daddr
Tim Meusel [Mon, 12 Aug 2019 20:55:52 +0000 (22:55 +0200)]
Merge pull request #51 from kBite/allow-array-for-saddr-daddr

Allow array for saddr and daddr

6 years agoUpdate README.md
kBite [Fri, 9 Aug 2019 15:41:28 +0000 (17:41 +0200)]
Update README.md

add missing 'a'

Co-Authored-By: Tim Meusel <tim@bastelfreak.de>
6 years agoadd second pair of parenthesis
Kilian Engelhardt [Thu, 8 Aug 2019 14:44:54 +0000 (16:44 +0200)]
add second pair of parenthesis

Previously this second pair of parenthesis was part of Hiera values; e.g.:

  subnet01 = '( ip01/32 ip02/32 )'

Now it needs to be added by ferm::rule.

6 years agoadd test for array support
Kilian Engelhardt [Tue, 6 Aug 2019 09:22:47 +0000 (11:22 +0200)]
add test for array support

6 years agoadd example using Hiera subnet variables to README.md
Kilian Engelhardt [Tue, 6 Aug 2019 08:48:02 +0000 (10:48 +0200)]
add example using Hiera subnet variables to README.md

6 years agoallow arrays for saddr and daddr
Kilian Engelhardt [Mon, 29 Jul 2019 08:27:43 +0000 (10:27 +0200)]
allow arrays for saddr and daddr

check for data type IP address when using arrays

add debug output when it's failing

6 years agoMerge pull request #50 from voxpupuli/modulesync
Tim Meusel [Sat, 27 Jul 2019 15:15:12 +0000 (17:15 +0200)]
Merge pull request #50 from voxpupuli/modulesync

modulesync 2.8.0

6 years agomodulesync 2.8.0
Tim Meusel [Sat, 27 Jul 2019 11:01:01 +0000 (13:01 +0200)]
modulesync 2.8.0

6 years ago[blacksmith] Bump version to 2.3.1-rc0
Tim Meusel [Fri, 12 Jul 2019 11:07:03 +0000 (13:07 +0200)]
[blacksmith] Bump version to 2.3.1-rc0

6 years agoMerge pull request #49 from bastelfreak/rel230
Tim Meusel [Fri, 12 Jul 2019 08:44:21 +0000 (10:44 +0200)]
Merge pull request #49 from bastelfreak/rel230

release 2.3.0

6 years agorelease 2.3.0
Tim Meusel [Fri, 12 Jul 2019 07:52:32 +0000 (09:52 +0200)]
release 2.3.0

6 years agoMerge pull request #48 from bastelfreak/interface
Tim Meusel [Fri, 12 Jul 2019 07:47:23 +0000 (09:47 +0200)]
Merge pull request #48 from bastelfreak/interface

add support for interface specific rules

6 years agoFix markdown linter warnings
Tim Meusel [Thu, 11 Jul 2019 13:04:30 +0000 (15:04 +0200)]
Fix markdown linter warnings

6 years agogenerate REFERENCE.md
Tim Meusel [Thu, 11 Jul 2019 13:04:10 +0000 (15:04 +0200)]
generate REFERENCE.md

6 years agoadd support for interface specific rules
Tim Meusel [Thu, 30 May 2019 16:45:51 +0000 (18:45 +0200)]
add support for interface specific rules

6 years agoenhance unit tests
Tim Meusel [Thu, 30 May 2019 16:24:06 +0000 (18:24 +0200)]
enhance unit tests

6 years agoMerge pull request #47 from bastelfreak/header
Tim Meusel [Wed, 3 Jul 2019 18:42:10 +0000 (20:42 +0200)]
Merge pull request #47 from bastelfreak/header

add `managed by puppet` header to template

6 years agoadd `managed by puppet` header
Tim Meusel [Wed, 3 Jul 2019 13:28:37 +0000 (15:28 +0200)]
add `managed by puppet` header

6 years agodelete unneeded file
Tim Meusel [Wed, 3 Jul 2019 13:28:22 +0000 (15:28 +0200)]
delete unneeded file

6 years agoMerge pull request #46 from dhoppe/fix_dependencies
Dennis Hoppe [Tue, 4 Jun 2019 09:06:58 +0000 (11:06 +0200)]
Merge pull request #46 from dhoppe/fix_dependencies

Allow puppetlabs/concat 6.x, puppetlabs/stdlib 6.x

6 years agoAllow puppetlabs/concat 6.x, puppetlabs/stdlib 6.x
Dennis Hoppe [Mon, 3 Jun 2019 07:46:48 +0000 (09:46 +0200)]
Allow puppetlabs/concat 6.x, puppetlabs/stdlib 6.x

6 years agoMerge pull request #45 from voxpupuli/modulesync
Tim Meusel [Sat, 6 Apr 2019 16:49:18 +0000 (18:49 +0200)]
Merge pull request #45 from voxpupuli/modulesync

modulesync 2.7.0

6 years agomodulesync 2.7.0
Tim Meusel [Sat, 6 Apr 2019 16:23:46 +0000 (18:23 +0200)]
modulesync 2.7.0

6 years ago[blacksmith] Bump version to 2.2.1-rc0
Tim Meusel [Fri, 5 Apr 2019 13:10:12 +0000 (15:10 +0200)]
[blacksmith] Bump version to 2.2.1-rc0

6 years agoMerge pull request #44 from bastelfreak/rel220
Tim Meusel [Fri, 5 Apr 2019 13:09:33 +0000 (15:09 +0200)]
Merge pull request #44 from bastelfreak/rel220

Release 2.2.0

6 years agorelease 2.2.0
Tim Meusel [Fri, 5 Apr 2019 12:15:20 +0000 (14:15 +0200)]
release 2.2.0

6 years agogenerate REFERENCE.md
Tim Meusel [Fri, 5 Apr 2019 12:09:32 +0000 (14:09 +0200)]
generate REFERENCE.md

6 years agoMerge pull request #43 from kBite/add-redhat-init-script
Dennis Hoppe [Fri, 5 Apr 2019 11:53:34 +0000 (13:53 +0200)]
Merge pull request #43 from kBite/add-redhat-init-script

Add RedHat init script

6 years agoadd parameter manage_initfile with default false
Kilian Engelhardt [Fri, 5 Apr 2019 11:31:19 +0000 (13:31 +0200)]
add parameter manage_initfile with default false

6 years agoadd test for RedHat-like to contain init script
Kilian Engelhardt [Wed, 3 Apr 2019 16:05:01 +0000 (18:05 +0200)]
add test for RedHat-like to contain init script

6 years agoinstall init script for RedHat-like OS
Kilian Engelhardt [Wed, 3 Apr 2019 16:01:04 +0000 (18:01 +0200)]
install init script for RedHat-like OS

6 years agoadd init script inspired by Kellermann's script for Debian
Kilian Engelhardt [Wed, 3 Apr 2019 15:16:46 +0000 (17:16 +0200)]
add init script inspired by Kellermann's script for Debian

6 years ago[blacksmith] Bump version to 2.1.1-rc0
Tim Meusel [Thu, 14 Mar 2019 09:03:41 +0000 (10:03 +0100)]
[blacksmith] Bump version to 2.1.1-rc0