Commit Graph

29 Commits

Author SHA1 Message Date
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
Javier Bértoli
4b7f4fd097 Release 1.0.5 2013-07-23 06:33:37 -03:00
Javier Bértoli
d7266a3404 New release 2013-07-23 06:22:37 -03:00
Javier Bértoli
7e1cae0602 Merge pull request #5 from mburger/master
fixed the jail definition so all resources are in order
2013-07-22 02:36:55 -07:00
Markus Burger
2816ee2b23 fixed the jail definition so all resources are in order
Change-Id: Ibc6fb2f855d8e0dbc6b57d9d577b70e70f769dbd
2013-07-22 09:57:47 +02:00
Javier Bértoli
e0a3f84e7a Merge pull request #4 from DexterTheDragon/fix_jail_stanza_action_bug
Fix formatting of action in jail that was causing a bug
2013-06-18 11:58:49 -07:00
Kevin Carter
75af6ab9e7 Fix formatting of action in jail that was causing a bug 2013-06-18 10:54:52 -06:00
Javier Bértoli
6d50bbb746 Merge pull request #3 from DexterTheDragon/add_findtime_to_jail_resource
Add findtime to the fail2ban::jail resource
2013-06-18 08:58:22 -07:00
Kevin Carter
339dce8707 Add findtime to the fail2ban::jail resource 2013-06-17 19:09:53 -06:00
Javier Bértoli
938ed9e14e Update module version 2013-05-26 15:52:17 -03:00
Javier Bértoli
f284c619d0 Update template syntax for 3.2 2013-05-26 15:33:38 -03:00
Javier Bértoli
b9d5e54849 Merge pull request #2 from damusnet/patch-1
Update jail.local.erb
2013-05-24 13:11:59 -07: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
916748c427 Lint 2013-04-30 09:27:21 -03:00
Javier Bértoli
1f90c13091 Document default behaviour 2013-04-30 08:14:02 -03:00
Javier Bértoli
c65f6fbdb6 Commit to initiate travis-ci 2013-04-30 08:02:36 -03:00
Javier Bértoli
ddc3a579c0 Typos in the README 2013-04-30 07:01:13 -03:00
Javier Bértoli
0e96b8fa6f New release
* Default behaviour is now to install package as distros configure them. If you want to change the
  configuration you need to explicitly modify "jails_config" (see README for details)
* Add support to modifify fail2ban.conf (issue #1)
* Add specs and tests
* Some cleanup
2013-04-30 06:45:57 -03: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
a269760a8b Add gitignore 2013-04-25 08:47:15 -03:00
Javier Bértoli
95f11030dc Added R.I.Pienaar's concat module as a dependency. 2013-04-25 08:39:18 -03:00
Javier Bértoli
169f8105ba Prepare modulefile for 1st. time module upload 2013-04-24 13:17:19 -03:00
Javier Bértoli
91d96ca835 Initial commit 2013-04-17 14:38:51 -03:00