17 Commits

Author SHA1 Message Date
Markus Frosch
7ae861c216 Add protocol parameter to jail define 2014-09-12 18:14:50 +02:00
Daniel Black
a4b5dae912 add ignoreip to jail options 2013-12-26 11:31:10 +00:00
Romain THERRAT
582b6a1788 Fix test with 1.0 rspec-puppet version 2013-12-23 18:41:15 +01:00
Romain THERRAT
1f2c9a8e8e Fix filter with a specified source 2013-12-23 17:18:46 +01:00
Javier Bértoli
80a6650164 Add multiple logpaths support (closes #11) 2013-11-24 19:24:09 -03:00
Javier Bértoli
899de1a536 Remove concat's deprecated setup call 2013-10-27 08:53:22 -03:00
Javier Bértoli
fd0284bcc4 Remove /bin/true as a default value for actions 2013-08-10 12:00:23 -03:00
Javier Bértoli
0b9de51a48 Add a define to add local filters 2013-08-09 19:34:28 -03:00
Javier Bértoli
e14a8aeea7 Add a define to manage actions in fail2ban
It creates a .local action file with user defined ban/unban actions, using a template or a source file
2013-08-08 19:23:46 -03:00
Javier Bértoli
3e015d6635 Moved main configuration from fail2ban.conf to fail2ban.local
Fail2ban's documentation suggests that modifications to the main configuration be
done in a .local file instead of modificating the main fail2ban.conf file.

If upgrading from a previous version of the module, you will probably end up with both
files having the same content. This is pretty harmless, but can be confusing at first.
Changes to the fail2ban.local file will have precedence over those in fail2ban.conf
so no matter if you previously had a modified fail2ban.conf file, the new values will
be used.

This change modifies the previous behaviour of the module where the main configuration
file was overwritten, but ensures future compatibility with fail2ban.
2013-08-07 17:29:19 -03:00
Kevin Carter
75af6ab9e7 Fix formatting of action in jail that was causing a bug 2013-06-18 10:54:52 -06:00
Kevin Carter
339dce8707 Add findtime to the fail2ban::jail resource 2013-06-17 19:09:53 -06:00
Javier Bértoli
71e189ec6d Add specs 2013-04-30 06:28:48 -03:00
Javier Bértoli
3bcea81f82 Add template to manage fail2ban.conf (see #1)
Also corrected some tests and documentation
2013-04-29 16:26:21 -03:00
Javier Bértoli
d213d8408c Rewrite jail.local handling through source/content.
Add tests
2013-04-29 13:41:22 -03:00
Javier Bértoli
9a1a8a188a Add rspecs and travis integration 2013-04-27 15:04:40 -03:00
Javier Bértoli
91d96ca835 Initial commit 2013-04-17 14:38:51 -03:00