Commit Graph

11 Commits

Author SHA1 Message Date
Javier Bértoli 80a6650164 Add multiple logpaths support (closes #11) 2013-11-24 19:24:09 -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 f284c619d0 Update template syntax for 3.2 2013-05-26 15:33:38 -03:00
Damien Varron d9b32a5f07 Update jail.local.erb
Warning: Variable access via 'operatingsystem' is deprecated. Use '@operatingsystem' instead. template[modules/fail2ban/templates/jail.local.erb]:36
        (at modules/fail2ban/templates/jail.local.erb:36:in `result')
2013-05-24 15:56:00 +02: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 91d96ca835 Initial commit 2013-04-17 14:38:51 -03:00