Citēts Yaroslav Halchenko <[email protected]> Sun, 26 Apr 2015 23:24:52 -0400:
On Sun, 26 Apr 2015, Jānis wrote:Hi!I hope it is trivial problem:I installed v 0.9.1 and after some fiddlig got to the point where fail2ban "pretends" to be working - it follows maillog, places bans and unbans, but these actions seems not reaching iptables - iptables -L does not show any of the banned IP in rules.http://www.fail2ban.org/wiki/index.php/HOWTO_Seek_Help
so, I installed 0.9.2-23, the behaviour is the same - the break-in attempts are registred, but no actual iptables block follows
System- Slackware64-14.0, firewall managed using Arno iptables firewall script (which, according to the available information, is OK). Config files - attached.
Janis log (starting the daemon):2015-05-29 09:50:51,890 fail2ban.server [7124]: INFO Changed logging target to /var/log/fail2ban.log for Fail2ban v0.9.2.dev 2015-05-29 09:50:51,891 fail2ban.database [7124]: INFO Connected to fail2ban persistent database '/var/lib/fail2ban/fail2ban.sqlite3' 2015-05-29 09:50:51,973 fail2ban.jail [7124]: INFO Creating new jail 'postfix' 2015-05-29 09:50:51,973 fail2ban.jail [7124]: INFO Jail 'postfix' uses poller 2015-05-29 09:50:51,988 fail2ban.filter [7124]: INFO Set jail log file encoding to ISO-8859-1 2015-05-29 09:50:51,989 fail2ban.jail [7124]: INFO Initiated 'polling' backend 2015-05-29 09:50:52,156 fail2ban.filter [7124]: INFO Added logfile = /var/log/maillog 2015-05-29 09:50:52,157 fail2ban.filter [7124]: INFO Set maxRetry = 3 2015-05-29 09:50:52,158 fail2ban.filter [7124]: INFO Set jail log file encoding to ISO-8859-1 2015-05-29 09:50:52,158 fail2ban.actions [7124]: INFO Set banTime = 3600 2015-05-29 09:50:52,158 fail2ban.filter [7124]: INFO Set findtime = 180 2015-05-29 09:50:52,169 fail2ban.server [7124]: INFO Jail postfix is not a JournalFilter instance 2015-05-29 09:50:52,171 fail2ban.jail [7124]: INFO Creating new jail 'dovecot' 2015-05-29 09:50:52,171 fail2ban.jail [7124]: INFO Jail 'dovecot' uses poller 2015-05-29 09:50:52,172 fail2ban.filter [7124]: INFO Set jail log file encoding to ISO-8859-1 2015-05-29 09:50:52,172 fail2ban.jail [7124]: INFO Initiated 'polling' backend 2015-05-29 09:50:52,357 fail2ban.filter [7124]: INFO Added logfile = /var/log/maillog 2015-05-29 09:50:52,358 fail2ban.filter [7124]: INFO Set maxRetry = 3 2015-05-29 09:50:52,358 fail2ban.filter [7124]: INFO Set jail log file encoding to ISO-8859-1 2015-05-29 09:50:52,359 fail2ban.actions [7124]: INFO Set banTime = 3600 2015-05-29 09:50:52,359 fail2ban.filter [7124]: INFO Set findtime = 180 2015-05-29 09:50:52,366 fail2ban.server [7124]: INFO Jail dovecot is not a JournalFilter instance 2015-05-29 09:50:52,368 fail2ban.jail [7124]: INFO Creating new jail 'postfix-sasl' 2015-05-29 09:50:52,368 fail2ban.jail [7124]: INFO Jail 'postfix-sasl' uses poller 2015-05-29 09:50:52,369 fail2ban.filter [7124]: INFO Set jail log file encoding to ISO-8859-1 2015-05-29 09:50:52,369 fail2ban.jail [7124]: INFO Initiated 'polling' backend 2015-05-29 09:50:52,539 fail2ban.filter [7124]: INFO Added logfile = /var/log/maillog 2015-05-29 09:50:52,540 fail2ban.filter [7124]: INFO Set maxRetry = 3 2015-05-29 09:50:52,540 fail2ban.filter [7124]: INFO Set jail log file encoding to ISO-8859-1 2015-05-29 09:50:52,541 fail2ban.actions [7124]: INFO Set banTime = 3600 2015-05-29 09:50:52,541 fail2ban.filter [7124]: INFO Set findtime = 180 2015-05-29 09:50:52,544 fail2ban.server [7124]: INFO Jail postfix-sasl is not a JournalFilter instance 2015-05-29 09:50:52,554 fail2ban.jail [7124]: INFO Jail 'postfix' started 2015-05-29 09:50:52,577 fail2ban.jail [7124]: INFO Jail 'dovecot' started 2015-05-29 09:50:52,588 fail2ban.jail [7124]: INFO Jail 'postfix-sasl' started
fail2ban.tar.xz
Description: fail2ban.tar.xz
------------------------------------------------------------------------------
_______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users
