add ignoreip to jail options

This commit is contained in:
Daniel Black
2013-12-26 11:31:10 +00:00
parent a7458e33ce
commit a4b5dae912
3 changed files with 15 additions and 0 deletions
+2
View File
@@ -39,6 +39,7 @@ filter = fail2ban::jail
:port => ['42', '43'],
:logpath => '/path/to/somelog',
:enable => true,
:ignoreip => [ '10.3.2.0/24', '192.168.56.0/24' ],
:findtime => '9000',
:maxretry => '5',
:bantime => '3600',
@@ -53,6 +54,7 @@ filter = fail2ban::jail
[fail2ban::jail]
enabled = true
filter = fail2ban::jail
ignoreip = 10.3.2.0/24 192.168.56.0/24
port = 42,43
action = iptables[name=SSH, port=ssh, protocol=tcp]
mail-whois[name=SSH, dest=yourmail@mail.com]