Hallo und Guten Tag!
Habe das gefühl das Fail2ban nicht funktioniert, habe eine Clean Install und Fail2ban laut Wiki Installiert.
Hier mal paar auszüge:
auth.log
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: commit transaction
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin Parse the username diablo
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin try and connect to a host
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin trying to open db 'imscp' on host '127.0.0.1:3306'
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin Parse the username diablo
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin try and connect to a host
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin trying to open db 'imscp' on host '127.0.0.1:3306'
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: begin transaction
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin create statement from userPassword diablo sv01.domain.de
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin doing query SELECT mail_pass FROM mail_users WHERE mail_addr$
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin: no result found
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin create statement from cmusaslsecretPLAIN diablo sv01.domain.de
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin doing query SELECT mail_pass FROM mail_users WHERE mail_addr$
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin: no result found
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: commit transaction
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin Parse the username diablo
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin try and connect to a host
Jul 12 06:33:48 sv01 postfix/smtpd[16112]: sql plugin trying to open db 'imscp' on host '127.0.0.1:3306'
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql auxprop plugin using mysql engine
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin Parse the username diamond
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin try and connect to a host
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin trying to open db 'imscp' on host '127.0.0.1:3306'
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: begin transaction
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin create statement from userPassword diamond sv01.domain.de
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin doing query SELECT mail_pass FROM mail_users WHERE mail_addr$
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin: no result found
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: commit transaction
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin Parse the username diamond
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin try and connect to a host
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin trying to open db 'imscp' on host '127.0.0.1:3306'
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin Parse the username diamond
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin try and connect to a host
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin trying to open db 'imscp' on host '127.0.0.1:3306'
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: begin transaction
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin create statement from userPassword diamond sv01.domain.de
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin doing query SELECT mail_pass FROM mail_users WHERE mail_addr$
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin: no result found
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin create statement from cmusaslsecretPLAIN diamond sv01.mzips.$
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin doing query SELECT mail_pass FROM mail_users WHERE mail_addr$
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin: no result found
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: commit transaction
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin Parse the username diamond
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin try and connect to a host
Jul 12 06:57:07 sv01 postfix/smtpd[16573]: sql plugin trying to open db 'imscp' on host '127.0.0.1:3306'
Jul 12 07:20:16 sv01 postfix/smtpd[17211]: sql auxprop plugin using mysql engine
Jul 12 07:20:16 sv01 postfix/smtpd[17211]: sql plugin Parse the username doctor
Jul 12 07:20:16 sv01 postfix/smtpd[17211]: sql plugin try and connect to a host
Jul 12 07:20:16 sv01 postfix/smtpd[17211]: sql plugin trying to open db 'imscp' on host '127.0.0.1:3306'
Jul 12 07:20:16 sv01 postfix/smtpd[17211]: begin transaction
fail2ban.log
2015-07-11 21:41:29,474 fail2ban.server [19711]: INFO Changed logging target to /var/log/fail2ban.log for Fail2$
2015-07-11 21:41:29,475 fail2ban.jail [19711]: INFO Creating new jail 'ssh'
2015-07-11 21:41:29,524 fail2ban.jail [19711]: INFO Jail 'ssh' uses pyinotify
2015-07-11 21:41:29,560 fail2ban.jail [19711]: INFO Initiated 'pyinotify' backend
2015-07-11 21:41:29,562 fail2ban.filter [19711]: INFO Added logfile = /var/log/auth.log
2015-07-11 21:41:29,564 fail2ban.filter [19711]: INFO Set maxRetry = 6
2015-07-11 21:41:29,566 fail2ban.filter [19711]: INFO Set findtime = 600
2015-07-11 21:41:29,567 fail2ban.actions[19711]: INFO Set banTime = 600
2015-07-11 21:41:29,645 fail2ban.jail [19711]: INFO Jail 'ssh' started
2015-07-11 21:42:33,464 fail2ban.server [19711]: INFO Stopping all jails
2015-07-11 21:42:33,772 fail2ban.jail [19711]: INFO Jail 'ssh' stopped
2015-07-11 21:42:33,774 fail2ban.server [19711]: INFO Exiting Fail2ban
service fail2ban Status
Jul 11 21:42:59 sv01 fail2ban[19806]: ERROR Found no accessible config files for 'filter.d/nginx-noscript'...l2ban
Jul 11 21:42:59 sv01 fail2ban[19806]: ERROR Unable to read the filter
Jul 11 21:42:59 sv01 fail2ban[19806]: ERROR Errors in jail 'imscp-noscript'. Skipping...
Jul 11 21:42:59 sv01 fail2ban[19806]: ERROR Found no accessible config files for 'filter.d/nginx-overflows...l2ban
Jul 11 21:42:59 sv01 fail2ban[19806]: ERROR Unable to read the filter
Jul 11 21:42:59 sv01 fail2ban[19806]: ERROR Errors in jail 'imscp-overflows'. Skipping...
Jul 11 21:42:59 sv01 fail2ban[19806]: WARNING 'ignoreregex' not defined in 'Definition'. Using default one: ''
Jul 11 21:42:59 sv01 fail2ban[19806]: ERROR No file(s) found for glob /var/log/apache2/*/error.log
Jul 11 21:42:59 sv01 fail2ban[19806]: ERROR Failed during configuration: Have not found any log file for a... jail
Jul 11 21:42:59 sv01 fail2ban[19806]: failed!
Hint: Some lines were ellipsized, use -l to show in full.
Sehe ich das nun richtig das fail2ban nicht wirklich läuft ? wäre dankbar über hilfe bzw Informationen.
LG